CVE-2024-24749
CVE-2024-24749 is a high-severity vulnerability in Geoserver with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-22.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- EPSS exploit prediction: 1% (51st percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-2376
- Weakness: CWE-22
- Affected product: Geoserver
- Published:
- Last modified:
Description
GeoServer is an open source server that allows users to share and edit geospatial data. Prior to versions 2.23.5 and 2.24.3, if GeoServer is deployed in the Windows operating system using an Apache Tomcat web application server, it is possible to bypass existing input validation in the GeoWebCache ByteStreamController class and read arbitrary classpath resources with specific file name extensions. If GeoServer is also deployed as a web archive using the data directory embedded in the `geoserver.war` file (rather than an external data directory), it will likely be possible to read specific resources to gain administrator privileges. However, it is very unlikely that production environments will be using the embedded data directory since, depending on how GeoServer is deployed, it will be erased and re-installed (which would also reset to the default password) either every time the server restarts or every time a new GeoServer WAR is installed and is therefore difficult to maintain. An external data directory will always be used if GeoServer is running in standalone mode (via an installer or a binary). Versions 2.23.5 and 2.24.3 contain a patch for the issue. Some workarounds are available. One may change from a Windows environment to a Linux environment; or change from Apache Tomcat to Jetty application server. One may also disable anonymous access to the embeded GeoWebCache administration and status pages.
Frequently asked questions
- What is CVE-2024-24749?
- GeoServer is an open source server that allows users to share and edit geospatial data. Prior to versions 2.23.5 and 2.24.3, if GeoServer is deployed in the Windows operating system using an Apache Tomcat web application server, it is possible to bypass existing input validation in the GeoWebCache ByteStreamController class and read arbitrary classpath resources with specific file name extensions. If GeoServer is also deployed as a web archive using the data directory embedded in the `geoserver.war` file (rather than an external data directory), it will likely be possible to read specific resources to gain administrator privileges. However, it is very unlikely that production environments will be using the embedded data directory since, depending on how GeoServer is deployed, it will be erased and re-installed (which would also reset to the default password) either every time the server restarts or every time a new GeoServer WAR is installed and is therefore difficult to maintain. An external data directory will always be used if GeoServer is running in standalone mode (via an installer or a binary). Versions 2.23.5 and 2.24.3 contain a patch for the issue. Some workarounds are available. One may change from a Windows environment to a Linux environment; or change from Apache Tomcat to Jetty application server. One may also disable anonymous access to the embeded GeoWebCache administration and status pages.
- How severe is CVE-2024-24749?
- CVE-2024-24749 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2024-24749 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (51st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-24749?
- CVE-2024-24749 affects Geoserver. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-24749?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-24749 have an EU (EUVD) identifier?
- Yes. CVE-2024-24749 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-2376.
- When was CVE-2024-24749 published?
- CVE-2024-24749 was published on 2024-07-01 and last updated on 2026-06-17.
References
- https://github.com/GeoWebCache/geowebcache/commit/c7f76bd8a1d67c3b986146e7a5e0b14dd64a8fef
- https://github.com/GeoWebCache/geowebcache/pull/1211
- https://github.com/geoserver/geoserver/security/advisories/GHSA-jhqx-5v5g-mpf3
- http://seclists.org/fulldisclosure/2024/Feb/13
Affected products (1)
- cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:*
More vulnerabilities in Geoserver
- CVE-2024-36401 — Critical (CVSS 9.8): GeoServer is an open source server that allows users to share and edit geospatial data. Prior to versions 2.22.6,…
- CVE-2023-35042 — Critical (CVSS 9.8): GeoServer 2, in some configurations, allows remote attackers to execute arbitrary code via…
- CVE-2025-58360 — High (CVSS 8.2): GeoServer is an open source server that allows users to share and edit geospatial data. From version 2.26.0 to before…
- CVE-2023-51444 — High (CVSS 7.2): GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. An…
- CVE-2023-41877 — High (CVSS 7.2): GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. A path…
- CVE-2025-21621 — Medium (CVSS 6.1): GeoServer is an open source server that allows users to share and edit geospatial data. Prior to version 2.25.0, a…
All CVEs affecting Geoserver →
Other CWE-22 (Path Traversal) vulnerabilities
- CVE-2026-48282 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Limitation of a Pathname to a Restricted…
- CVE-2026-54917 — Critical (CVSS 10.0): SeaweedFS is a distributed storage system for object storage (S3), file systems, and Iceberg tables. Prior to 4.30, the…
- CVE-2026-11429 — Critical (CVSS 10.0): Two endpoints in the Vault Service ScriptsController, shared by Altium Enterprise Server and Altium 365, accept file…
- CVE-2026-34909 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit a Path Traversal vulnerability found in UniFi OS devices to…
- CVE-2026-7411 — Critical (CVSS 10.0): In Eclipse BaSyx Java Server SDK versions prior to 2.0.0-milestone-10, inadequate path normalization in the Submodel…
- CVE-2026-36767 — Critical (CVSS 10.0): A path traversal vulnerability in the /content/images/add endpoint of shopizer v3.2.5 allows attackers write arbitrary…