CVE-2025-27505
MEDIUM 5.3CVSS 3.1GeoServer Missing Authorization on REST API Index
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.
- Published
- 10 Jun 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-862
- Also known as
- GHSA-h86g-x8mm-78m5
- Sources
- NVDJSONOSV GHSA-h86g-x8mm-78m5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | osgeo | geoservercpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* |
< 2.25.6 | 2.25.6 |
| NVD | osgeo | geoservercpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* |
>= 2.26.0, < 2.26.3 | 2.26.3 |
| OSV | Maven | org.geoserver.web:gs-web-app | >= 2.26.0, < 2.26.3 | 2.26.3 |
| OSV | Maven | org.geoserver.web:gs-web-app | < 2.25.6 | 2.25.6 |
| OSV | Maven | org.geoserver:gs-rest | >= 2.26.0, < 2.26.3 | 2.26.3 |
| OSV | Maven | org.geoserver:gs-rest | < 2.25.6 | 2.25.6 |
References
- https://github.com/geoserver/geoserver/pull/8170 · Patch, WEB
- https://github.com/geoserver/geoserver/security/advisories/GHSA-h86g-x8mm-78m5 · Third Party Advisory, WEB
- https://osgeo-org.atlassian.net/browse/GEOS-11664 · Issue Tracking, Patch, WEB
- https://osgeo-org.atlassian.net/browse/GEOS-11776 · Permissions Required, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-27505 · ADVISORY
- https://github.com/geoserver/geoserver · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 10 Jun 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Jun 2025)