6.5medium
GeoServer has a Server-Side Request Forgery (SSRF) Vulnerability in its XML Entity Resolution
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.29% (higher than 22% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-x4r9-gmw3-hxww
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| geoserver org.geoserver.web:gs-web-app | < 2.26.4, >= 2.27.0, < 2.27.3 | CVE List |
| geoserver org.geoserver:gs-main | < 2.26.4, >= 2.27.0, < 2.27.3 | CVE List |
| org.geoserver.web:gs-web-app (Maven) | before 2.26.4, from 2.27.0 before 2.27.3 | GitHub Advisory Database |
| org.geoserver:gs-main (Maven) | before 2.26.4, from 2.27.0 before 2.27.3 | GitHub Advisory Database |
| osgeo geoserver | before 2.26.4, from 2.27.0 before 2.27.3 | NVD |
All scores
| GitHub_M | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L |
| NVD | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Summary
A GeoServer that uses ENTITY_RESOLUTION_ALLOWLIST may allow attacker to perform unauthenticated Server-Side Request Forgery (SSRF).
Details
This vulnerability requires that GeoServer is set up to use a proxy base URL and the ENTITY_RESOLUTION_ALLOWLIST (default since 2.25.0):
Impact
This vulnerability allows an attacker to cause GeoServer to make requests to an unintended location.
Workaround
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 (e.g., https://somesite.org instead of https://somesite.org/ or https://somesite.org/geoserver). If the proxy base URL does not contain a path, adding a slash to the end of the URL will mitigate this vulnerability.
Resources
https://osgeo-org.atlassian.net/browse/GEOS-11867 https://github.com/geoserver/geoserver/pull/8622
Credits:
- Le Mau Anh Phong at Verichains Cyber Force
NVD (es)
GeoServer es un servidor de código abierto que permite a los usuarios compartir y editar datos geoespaciales. Antes de las versiones 2.26.4 y 2.27.3, un GeoServer que utiliza 'ENTITY_RESOLUTION_ALLOWLIST' puede permitir al atacante realizar una falsificación de petición del lado del servidor (SSRF) no autenticada. Esta vulnerabilidad requiere que GeoServer esté configurado para usar una URL base de proxy y la 'ENTITY_RESOLUTION_ALLOWLIST' (predeterminada desde la 2.25.0). Las versiones 2.26.4 y 2.27.3 contienen una corrección. Las instalaciones de GeoServer solo se ven afectadas por esta vulnerabilidad si utilizan una URL base de proxy que no contiene una ruta de URL o no termina con una barra. Si la URL base de proxy no contiene una ruta, añadir una barra al final de la URL mitigará esta vulnerabilidad.
References
| https://github.com/geoserver/geoserver/security/advisories/GHSA-x4r9-gmw3-hxww | mitigation, vendor-advisory, web | |
| https://github.com/geoserver/geoserver/pull/8622 | issue-tracking, patch, web | |
| https://osgeo-org.atlassian.net/browse/GEOS-11867 | issue-tracking | |
| https://github.com/geoserver/geoserver | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-58175 changed 2026-06-18 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-x4r9-gmw3-hxww changed 2026-06-12 | CC-BY-4.0 |
| NVD | CVE-2025-58175 changed 2026-10-06 | Public domain |