CVE-2025-27505: GeoServer Missing Authorization on REST API Index
Summary It is possible to bypass the default REST API security and access the index page. Details The REST API security handles rest and its subpaths but not rest with an extension (e.g., rest.html). Impact The REST API index can disclose whether certain extensions are installed.
Published Jun 10, 2025
Affected packages
org.geoserver.web:gs-web-app
- Ecosystem
- Maven
- Affected
- >= 2.26.0, < 2.26.3
- Fixed in
- 2.26.3
- Check
mvn dependency:tree -Dincludes=org.geoserver.web:gs-web-app
org.geoserver.web:gs-web-app
- Ecosystem
- Maven
- Affected
- < 2.25.6
- Fixed in
- 2.25.6
- Check
mvn dependency:tree -Dincludes=org.geoserver.web:gs-web-app
org.geoserver:gs-rest
- Ecosystem
- Maven
- Affected
- >= 2.26.0, < 2.26.3
- Fixed in
- 2.26.3
- Check
mvn dependency:tree -Dincludes=org.geoserver:gs-rest
org.geoserver:gs-rest
- Ecosystem
- Maven
- Affected
- < 2.25.6
- Fixed in
- 2.25.6
- Check
mvn dependency:tree -Dincludes=org.geoserver:gs-rest
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
It is possible to bypass the default REST API security and access the index page.
Details
The REST API security handles rest and its subpaths but not rest with an extension (e.g., rest.html).
Impact
The REST API index can disclose whether certain extensions are installed.
Workaround
In ${GEOSERVER_DATA_DIR}/security/config.xml, change the paths for the rest filter to /rest.*,/rest/** and change the paths for the gwc filter to /gwc/rest.*,/gwc/rest/** and restart GeoServer.
References
https://osgeo-org.atlassian.net/browse/GEOS-11664 https://osgeo-org.atlassian.net/browse/GEOS-11776 https://github.com/geoserver/geoserver/pull/8170
Credited to sikeoka.
References
- https://github.com/geoserver/geoserver/security/advisories/GHSA-h86g-x8mm-78m5
- https://nvd.nist.gov/vuln/detail/CVE-2025-27505
- https://github.com/geoserver/geoserver/pull/8170
- https://osgeo-org.atlassian.net/browse/GEOS-11664
- https://osgeo-org.atlassian.net/browse/GEOS-11776
- https://github.com/advisories/GHSA-h86g-x8mm-78m5
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2024-45747
GeoServer has a Server-Side Template Injection (SSTI) vulnerability in processing FreeMarker templates
high7.2Aug 19, 2026CVE-2025-52465
GeoServer has an arbitrary file write vulnerability in its Master Password Dump Page
high7.2Jun 12, 2026CVE-2025-58175
GeoServer has a Server-Side Request Forgery (SSRF) Vulnerability in its XML Entity Resolution
medium6.5Jun 12, 2026CVE-2025-21621
GeoServer has a Reflected Cross-Site Scripting (XSS) vulnerability in its WMS GetFeatureInfo HTML format
medium6.1Nov 25, 2025CVE-2025-58360
GeoServer is vulnerable to Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature
high8.2ExploitedNov 25, 2025CVE-2024-34711
GeoServer has improper ENTITY_RESOLUTION_ALLOWLIST URI validation in XML Processing (SSRF)
critical9.3Jun 10, 2025
