Auth bypass in Geoserver
CVE-2025-27505
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.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS: 0.012 (65.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 66th percentile — 65.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.010 · newest: 0.012 · change: +0.001
Affected products
- Geoserver — versions >= 2.26.0, < 2.26.3, < 2.25.6
- Osgeo Geoserver
Weakness classification (CWE)
References
- github.com/geoserver/geoserver/security/advisories/GHSA-h86g-x8mm-78m5 (Third Party Advisory)
- github.com/geoserver/geoserver/pull/8170 (Patch)
- osgeo-org.atlassian.net/browse/GEOS-11664 (Patch, Issue Tracking)
- osgeo-org.atlassian.net/browse/GEOS-11776 (Permissions Required)
Frequently asked questions
- What is CVE-2025-27505?
- CVE-2025-27505 is a medium-severity vulnerability in Geoserver, classified under Missing Authorization. CVSS score: 5.3/10. Published 2025-06-10.
- How severe is CVE-2025-27505?
- Medium severity. CVSS v3 base score is 5.3 out of 10.