CVE-2025-27505Osgeo Geoserver
Medium 5.3 No auth needed
Follow: this CVE · Osgeo · Osgeo Geoserver We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Jun 10, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-862
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
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
- Apply the vendor's security update for Geoserver.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.geoserver.web:gs-web-app |
≥ 2.26.0 < 2.26.3 |
2.26.3 |
— |
| Maven | org.geoserver.web:gs-web-app |
< 2.25.6 |
2.25.6 |
— |
| Maven | org.geoserver:gs-rest |
≥ 2.26.0 < 2.26.3 |
2.26.3 |
— |
| Maven | org.geoserver:gs-rest |
< 2.25.6 |
2.25.6 |
— |
Per OSV / GitHub Advisories (GHSA-h86g-x8mm-78m5). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| osgeo | geoserver | < 2.25.6 |
| osgeo | geoserver | ≥ 2.26.0 < 2.26.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Third Party Advisory
- osgeo-org.atlassian.net Issue Tracking Patch
- osgeo-org.atlassian.net Permissions Required