GeoServer REST API authorization bypass via extension-suffixed REST index
CVE-2025-27505 affects GeoServer, an open source geospatial data server. The vulnerability is caused by incomplete path protection in the default REST API security configuration: authorization rules cover /rest and its subpaths, but do not properly match requests to the REST endpoint when an extension suffix is appended, such as /rest.html. As a result, an unauthenticated requester can bypass the intended REST API access control for the index page. The exposed REST index can reveal information about the GeoServer instance, including whether specific extensions are installed. The issue is fixed in GeoServer versions 2.26.3 and 2.25.6.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows unauthorized access to the GeoServer REST API index page despite the default REST API security configuration. The primary impact described is information disclosure: an attacker can determine whether certain GeoServer extensions are installed, which can aid reconnaissance and subsequent targeting of the instance.
If you can’t patch tonight, do this now.
If immediate patching is not possible, modify ${GEOSERVER_DATA_DIR}/security/config.xml so the REST filter paths include extension-suffixed requests. Change the rest filter paths to /rest.,/rest/** and the gwc filter paths to /gwc/rest.,/gwc/rest/**, then restart GeoServer to apply the updated security configuration.
Patch, then assume compromise.
Upgrade GeoServer to a fixed release. The vulnerability is addressed in versions 2.26.3 and 2.25.6. Organizations running affected 2.26.x or 2.25.x releases should update to the corresponding fixed version or later.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
3 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.