Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Osgeo | Geoserver | < 2.25.6 |
Related Weaknesses (CWE)
References
- https://github.com/geoserver/geoserver/pull/8170Patch
- https://github.com/geoserver/geoserver/security/advisories/GHSA-h86g-x8mm-78m5Third Party Advisory
- https://osgeo-org.atlassian.net/browse/GEOS-11664Issue TrackingPatch
- https://osgeo-org.atlassian.net/browse/GEOS-11776Permissions Required
FAQ
What is CVE-2025-27505?
CVE-2025-27505 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 ...
How severe is CVE-2025-27505?
CVE-2025-27505 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-27505?
Check the references section above for vendor advisories and patch information. Affected products include: Osgeo Geoserver.