NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2025-27505: GeoServer Missing Authorization on REST API Index

mediumCVSS 3.1 5.3GHSA-h86g-x8mm-78m5

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

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 entries