CVE-2024-36401
9.8, critical Known exploitedOSGeo GeoServer GeoTools Eval Injection Vulnerability
- CVSS
- 9.8, critical critical CVSS v3.1
- EPSS, next 30 days
- 100% higher than 99.9% of scored CVEs
- Exploitation
- Confirmed in the wild
- Published
- 1 Jul 20242 years ago
Known exploited
CISA added this to the Known Exploited Vulnerabilities Catalog on 15 Jul 2024. US federal agencies had to remediate by 5 Aug 2024, a deadline that has passed.
Required action. Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Description
GeoServer is an open source server that allows users to share and edit geospatial data. Prior to versions 2.22.6, 2.23.6, 2.24.4, and 2.25.2, multiple OGC request parameters allow Remote Code Execution (RCE) by unauthenticated users through specially crafted input against a default GeoServer installation due to unsafely evaluating property names as XPath expressions. The GeoTools library API that GeoServer calls evaluates property/attribute names for feature types in a way that unsafely passes them to the commons-jxpath library which can execute arbitrary code when evaluating XPath expressions. This XPath evaluation is intended to be used only by complex feature types (i.e., Application Schema data stores) but is incorrectly being applied to simple feature types as well which makes this vulnerability apply to **ALL** GeoServer instances. No public PoC is provided but this vulnerability has been confirmed to be exploitable through WFS GetFeature, WFS GetPropertyValue, WMS GetMap, WMS GetFeatureInfo, WMS GetLegendGraphic and WPS Execute requests. This vulnerability can lead to executing arbitrary code. Versions 2.22.6, 2.23.6, 2.24.4, and 2.25.2 contain a patch for the issue. A workaround exists by removing the `gt-complex-x.y.jar` file from the GeoServer where `x.y` is the GeoTools version (e.g., `gt-complex-31.1.jar` if running GeoServer 2.25.1). This will remove the vulnerable code from GeoServer but may break some GeoServer functionality or prevent GeoServer from deploying if the gt-complex module is needed.
Details
- Vendor
- OSGeo
- Product
- geoserver
- Weakness
- CWE-95 (opens in a new tab)
- Status
- Analyzed
- Updated
- 17 Jun 2026
- Assigner
- security-advisories@github.com
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References 7
Exploit code 3
Patches and fixes 1
Advisories 2
The kind is read from NVD's tags where present and from the shape of the URL otherwise, so treat it as a hint.
Other OSGeo CVEs
Every OSGeo CVE we holdSame vendor in what we hold, not a known link between the flaws.
- CVE-2025-58360 OSGeo GeoServer Improper Restriction of XML External Entity Reference Vulnerability KEV EPSS 61% 9.8, critical
- CVE-2022-24816 OSGeo GeoServer JAI-EXT Code Injection Vulnerability KEV EPSS 100% 10, critical
Beyond this page
Is CVE-2024-36401 in your network?
This page tells you how dangerous CVE-2024-36401 is out there. Whether it sits on one of your devices, only a scan of your own network can tell. That is what our systems do, every day, for the companies we protect.
CVE-2024-36401 is in the CISA catalogue of exploited vulnerabilities: attackers are already exploiting it.
-
EXYS7600 OCELOT
Find it before attackers do
Ocelot scans your network on a schedule and reports every vulnerability it finds by its CVE identifier, with its CVSS score and how many of your hosts are affected. A finding like CVE-2024-36401 comes with the devices to patch.
Learn more about EXYS7600 OCELOT -
EXYS7950 KONDRA
Detect it if it's exploited
Until the patch is applied, Kondra monitors your network, events and endpoints in real time. It keeps an inventory of the software installed on every endpoint, and its anomaly detection rules flag what an attacker does once inside.
Learn more about EXYS7950 KONDRA
Assembled from the NVD 2.0 API, the CISA Known Exploited Vulnerabilities Catalog and FIRST EPSS. Scores are as of our last collection on 17 Oct 2026, not the live upstream state.