Patchfirst
CVE-2025-27505 Public exploit Medium · 5.3 EPSS 1.2%

GeoServer Missing Authorization on REST API Index

Fix:upgrade gs-rest to 2.26.3 or later Details ↓

geoserver · geoserver

Summary

The GeoServer geospatial data server has a missing authorization flaw in its REST API index: the default REST security covers /rest and its subpaths but not extension-suffixed paths such as rest.html, so the index page is reachable without the intended protection. An unauthenticated attacker with network access can request that index page to learn whether certain extensions are installed, with no user interaction or special configuration required.

Official description · CVE.org

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.

Breakdown
57.6 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 41 days after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+41 days

Affected versions and fixes

as published in the CVE record

geoserver geoserver

Affected: >= 2.26.0, < 2.26.3 · < 2.25.6

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

2 packages in 1 ecosystem. Main package: org.geoserver:gs-rest.

Mavenorg.geoserver:gs-restGHSA-h86g-x8mm-78m5

Upgrade to 2.26.3 or later

Set the version to 2.26.3 or later in your pom.xml or build.gradle.

The first fix for CVE-2025-27505. No other CVE tracked by Patchfirst affects this package.

Affected versions, by release line

If you runUpgrade to
2.26.0 up to 2.26.32.26.3
All versions before 2.25.62.25.6

“Up to” means the second version is the fix and is not affected.

Other packages that bundle this code (1)

Forks, repackagings and products that include the affected code. Each has its own fixed version.

  • Mavenorg.geoserver.web:gs-web-app
    Affected: 2.26.0 up to 2.26.3; All versions before 2.25.6Upgrade to 2.26.3 or later (older lines: 2.25.6)

Check your lockfile against all CVEs

References

4 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close