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

Published Jun 10, 2025
·
Updated

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 ${GEOSERVERDATADIR}/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

Other sources

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 ${GEOSERVERDATADIR}/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.

MITRE

Affected Software

6 affected componentsFixes available
maven/org.geoserver:gs-rest<2.25.6
2.25.6
maven/org.geoserver:gs-rest>=2.26.0<2.26.3
2.26.3
maven/org.geoserver.web:gs-web-app<2.25.6
2.25.6
maven/org.geoserver.web:gs-web-app>=2.26.0<2.26.3
2.26.3
OSGeo GeoServer<2.25.6
OSGeo GeoServer>=2.26.0<2.26.3

Event History

Jun 10, 2025
CVE Published
via MITRE·02:52 PM
Data Sourced
via MITRE·02:52 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
RemedyAffected Software
Advisory Published
via GitHub·07:16 PM
Data Sourced
via GitHub·07:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-27505?

CVE-2025-27505 is a moderate severity vulnerability that allows for unauthorized access to the REST API index page.

2

How do I fix CVE-2025-27505?

To fix CVE-2025-27505, update to the version 2.25.6 or 2.26.3 of the affected GeoServer components.

3

What are the affected versions for CVE-2025-27505?

CVE-2025-27505 affects GeoServer versions prior to 2.25.6 and between 2.26.0 and 2.26.3.

4

What does CVE-2025-27505 allow an attacker to do?

CVE-2025-27505 allows an attacker to bypass default REST API security and access the index page of the REST API.

5

Which packages are affected by CVE-2025-27505?

CVE-2025-27505 affects the org.geoserver:gs-rest and org.geoserver.web:gs-web-app packages.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203