GHSA-h86g-x8mm-78m5
GeoServer Missing Authorization on REST API Index
Quick fix
GHSA-h86g-x8mm-78m5 — org.geoserver.web:gs-web-app: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.26.3</version> for org.geoserver.web:gs-web-appDetails
### 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
Are you affected?
Enter the version of the package you're using.
Affected packages
2.26.0Fixed in: 2.26.3# pom.xml: bump <version>2.26.3</version> for org.geoserver.web:gs-web-app0Fixed in: 2.25.6# pom.xml: bump <version>2.25.6</version> for org.geoserver.web:gs-web-app2.26.0Fixed in: 2.26.3# pom.xml: bump <version>2.26.3</version> for org.geoserver:gs-rest0Fixed in: 2.25.6# pom.xml: bump <version>2.25.6</version> for org.geoserver:gs-restReferences
- https://github.com/geoserver/geoserver/security/advisories/GHSA-h86g-x8mm-78m5[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2025-27505[ADVISORY]
- https://github.com/geoserver/geoserver/pull/8170[WEB]
- https://github.com/geoserver/geoserver[PACKAGE]
- https://osgeo-org.atlassian.net/browse/GEOS-11664[WEB]
- https://osgeo-org.atlassian.net/browse/GEOS-11776[WEB]