GeoServer - Authentication Bypass (CVE-2025-27505)
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.
psychologyCrowdSec Analysis
CVE-2025-27505 is a security vulnerability in GeoServer that allows attackers to bypass REST API security controls by accessing the API index page with certain file extensions, such as .html. This flaw can expose information about installed extensions, potentially aiding reconnaissance and further attacks. The issue is resolved in versions 2.26.3 and 2.25.6.
CrowdSec has been tracking this vulnerability and its exploits since 16th of July 2025.
Data from the CrowdSec community indicates that exploitation of CVE-2025-27505 is highly selective and intelligence-driven. Threat actors use advanced reconnaissance and carefully choose their targets, often as part of sophisticated campaigns or advanced persistent threat operations. Data from the CrowdSec community also indicates a gradual decrease in attacks targeting CVE-2025-27505. While still present in the wild, exploitation levels have dropped noticeably week-over-week. This may signal that the vulnerability is becoming less relevant or that defenses are improving fast enough for attackers to lose interest.
Attackers exploit this vulnerability by directly accessing the /rest.html or /geoserver/rest.html endpoints, exposing sensitive GeoServer configuration information without proper authorization.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2025-06-10 |
| Rule Released | 2025-07-16 |
| CrowdSec First Seen | 2025-07-21 |
Related Weaknesses
Remediation & Protection
External References
- https://osgeo-org.atlassian.net/browse/GEOS-11776
- https://github.com/geoserver/geoserver/security/advisories/GHSA-h86g-x8mm-78m5
- https://osgeo-org.atlassian.net/browse/GEOS-11664
- https://github.com/geoserver/geoserver/pull/8170
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-27505.yaml