GeoServer Missing Authorization on REST API Index
Description
GeoServer is an open source server that allows users to share and edit geospatial data. It is possible to bypass the default REST API security and access the index page. The REST API security handles rest and its subpaths but not rest with an extension (e.g., rest.html). The REST API index can disclose whether certain extensions are installed. This vulnerability is fixed in 2.26.3 and 2.25.6. As a 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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.geoserver.web:gs-web-appMaven | >= 2.26.0, < 2.26.3 | 2.26.3 |
org.geoserver.web:gs-web-appMaven | < 2.25.6 | 2.25.6 |
org.geoserver:gs-restMaven | >= 2.26.0, < 2.26.3 | 2.26.3 |
org.geoserver:gs-restMaven | < 2.25.6 | 2.25.6 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
6- github.com/advisories/GHSA-h86g-x8mm-78m5ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-27505ghsaADVISORY
- github.com/geoserver/geoserver/pull/8170ghsax_refsource_MISCWEB
- github.com/geoserver/geoserver/security/advisories/GHSA-h86g-x8mm-78m5ghsax_refsource_CONFIRMWEB
- osgeo-org.atlassian.net/browse/GEOS-11664ghsax_refsource_MISCWEB
- osgeo-org.atlassian.net/browse/GEOS-11776ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.