CVE-2025-58175: geoserver org.geoserver:gs-main Improper Input Validation
Vulnerability summary
CVE-2025-58175 is a high (CVSS 8.2) Improper Input Validation vulnerability in geoserver org.geoserver:gs-main. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 19.9% of scored vulnerabilities.
Timeline
- 18-06-2026PublishedVulnerability first disclosed.
- 18-06-2026Last modifiedVulnerability information updated.
Description
GeoServer is an open source server that allows users to share and edit geospatial data. Prior to versions 2.26.4 and 2.27.3, a GeoServer that uses `ENTITY_RESOLUTION_ALLOWLIST` may allow attacker to perform unauthenticated Server-Side Request Forgery (SSRF). This vulnerability requires that GeoServer is set up to use a proxy base URL and the `ENTITY_RESOLUTION_ALLOWLIST` (default since 2.25.0). Versions 2.26.4 and 2.27.3 contain a fix. GeoServer installations are only affected by this vulnerability if they use a proxy base URL that does not contain a URL path or end with a slash. If the proxy base URL does not contain a path, adding a slash to the end of the URL will mitigate this vulnerability.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA6.5MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:LDiffers
- OSV · MavenEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:LDiffers
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
20%
Versus all other CVEs
30-day change
-0.18 pp
From 0.47% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-611Improper Restriction of XML External Entity ReferenceThe product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.
- CWE-918Server-Side Request Forgery (SSRF)The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
Affected systems
Geoserver2 products
- org.geoserver:gs-main< 2.26.4 | ≥ 2.27.0, < 2.27.3
- org.geoserver.web:gs-web-app< 2.26.4 | ≥ 2.27.0, < 2.27.3
Org.geoserver1 product
- gs-main< 2.26.4 | ≥ 2.27.0, < 2.27.3
Org.geoserver.web1 product
- gs-web-app< 2.26.4 | ≥ 2.27.0, < 2.27.3
Osgeo1 product
- geoserver< 2.26.4 | ≥ 2.27.0, < 2.27.3
4 vendors · 5 products
References
4 links- github.com/geoserver/geoserver/security/advisories/GHSA-x4r9-gmw3-hxwwX Refsource CONFIRMWEBMitigationVendor Advisory