CVE-2025-58175 GeoServer
| Affected software | GeoServer |
|---|---|
| Severity | 8.2 High CVSS 3.1 2 scores |
| Fixed in | 2.26.4, 2.27.3 |
| Weakness | XML external entity (XXE) (CWE-611) |
| Published | 18 Jun 2026 |
| Updated | 6 Oct 2026 |
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.
CWE-20 · Improper input validationCWE-918 · Server-side request forgery
Exploitation status
No public exploit
No exploit has been reported in the sources we check.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: none
- Indexed PoC none indexed
- EPSS 0.29% chance in 30 days
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full XXE
- Action available security rule
- Review automated Inferred
- Record active
| Decided by | A vulnerability class already blocked by an ARMR security rule |
|---|---|
| Finding | Protected by Waratek's ARMR xxe security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-611: XML External Entity Reference. |
| Candidate fix | https://github.com/geoserver/geoserver/pull/8622 : a pull request: the change under review |
How to mitigate CVE-2025-58175
Upgrade GeoServer to a release that fixes it: 2.26.4 or 2.27.3. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.
CVSS
8.2 HIGH
v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
2 metrics
CVSS
8.2 HIGH v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 8.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L |
NVD | Primary | published |
| CVSS 3.1 | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L |
security-advisories@github.com | Secondary |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.geoserver.web:gs-web-app |
0 | 2.26.4 |
unbounded |
org.geoserver:gs-main |
0 | 2.26.4 |
unbounded |
org.geoserver:gs-main |
2.27.0 | 2.27.3 |
unbounded |
org.geoserver.web:gs-web-app |
2.27.0 | 2.27.3 |
unbounded |
Products and versions
3 products, 6 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| osv | org.geoserver | gs-main | generic | < 2.26.4 · ≥ 2.27.0 and < 2.27.3 |
| osv | org.geoserver.web | gs-web-app | generic | < 2.26.4 · ≥ 2.27.0 and < 2.27.3 |
| nvd | osgeo | geoserver | generic | < 2.26.4 · ≥ 2.27.0 and < 2.27.3 |
References
Timeline
Timeline
| Published | 2026-06-18 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-10-06 | NVD's own last-modified date for this record. |