CVE-2025-27505 is a medium-severity (CVSS 5.3) CWE-862 vulnerability in org.geoserver.web:gs-web-app. A fix is available for org.geoserver.web:gs-web-app — see the affected versions and patch details below.
GeoServer Missing Authorization on REST API Index
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2025-27505.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.geoserver.web:gs-web-app☕org.geoserver.web:gs-web-app☕org.geoserver:gs-rest☕org.geoserver:gs-restReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.geoserver.web:gs-web-app | ≥ 2.26.0&&< 2.26.3 | 2.26.3org.geoserver.web:gs-web-app:2.26.3 |
| ☕Maven | org.geoserver.web:gs-web-app | all versions | 2.25.6org.geoserver.web:gs-web-app:2.25.6 |
| ☕Maven | org.geoserver:gs-rest | ≥ 2.26.0&&< 2.26.3 | 2.26.3org.geoserver:gs-rest:2.26.3 |
| ☕Maven | org.geoserver:gs-rest | all versions | 2.25.6org.geoserver:gs-rest:2.25.6 |
Affected Products
geoserverosgeoDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.geoserver.web:gs-web-app, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.geoserver.web:gs-web-app to 2.26.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-27505 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
How to detect CVE-2025-27505
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2025-27505 -u https://target- Template
- GeoServer - Missing Authorization on REST API Index
- Severity
- medium
- Impact
- Unauthenticated users can access the GeoServer REST API Index page, potentially exposing sensitive configuration information and available API endpoints.
- Remediation
- Upgrade to the latest GeoServer version that implements proper authorization checks for the REST API Index page.
Template by ProjectDiscovery nuclei-templates (securitytaters), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2025-27505 in your dependencies?
Find it across Maven, including transitive dependencies.