Skip to content
OpenAdvisories
Medium · 5.3 Scanner template CVE-2025-27505 EUVD-2025-17687GHSA-h86g-x8mm-78m5

GeoServer Missing Authorization on REST API Index

Published Jun 10, 2025 · Updated Jun 10, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
geoserver geoserver >= 2.26.0, < 2.26.3, < 2.25.6 —

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.geoserver:gs-rest >= 2.26.0, < 2.26.3 2.26.3 GHSA-h86g-x8mm-78m5
Maven org.geoserver:gs-rest < 2.25.6 2.25.6 GHSA-h86g-x8mm-78m5
Maven org.geoserver.web:gs-web-app >= 2.26.0, < 2.26.3 2.26.3 GHSA-h86g-x8mm-78m5
Maven org.geoserver.web:gs-web-app < 2.25.6 2.25.6 GHSA-h86g-x8mm-78m5

Advisories 1

References