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.
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
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.geoserver:gs-rest | >= 2.26.0, < 2.26.3, < 2.25.6 | 2.26.3, 2.25.6 |
| Java / Kotlin (Maven) | org.geoserver.web:gs-web-app | >= 2.26.0, < 2.26.3, < 2.25.6 | 2.26.3, 2.25.6 |
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://github.com/geoserver/geoserver
- https://osgeo-org.atlassian.net/browse/GEOS-11664
- https://osgeo-org.atlassian.net/browse/GEOS-11776
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N- Weakness (CWE)
CWE-862- Platform
- Java / Kotlin (Maven)
- Package
org.geoserver:gs-rest, org.geoserver.web:gs-web-app- Disclosed
- 10.06.2025
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-h86g-x8mm-78m5 - CC BY 4.0
Vulnerability history: org.geoserver:gs-rest
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 06.2025 06.2025
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Medium 2
Disclosures per year
- 2025: 2
- 2026: 0
-
GeoServer Missing Authorization on REST API Index this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.