Tia N.List

KEV catalog · CISA Known Exploited Vulnerabilities

CVE-2024-36401 9.8
OSGeo · GeoServer · Added 2024-07-15 · Published 2024-07-01
3-Day Required PoC Available KEV Automatable Active Exploitation

Details

VulnerabilityOSGeo GeoServer GeoTools Eval Injection Vulnerability
VendorOSGeo
ProductGeoServer
Date added2024-07-15
Due date2024-08-05
Required actionApply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
CWECWE-94 CWE-95
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS 0.9981 · 100th percentile · 2026-11-29 · 7d +0.0000
EPSS trend 0.9980 → 0.7190 -0.2790 over 21 observations
Descriptions

KEV: OSGeo GeoServer GeoTools contains an improper neutralization of directives in dynamically evaluated code vulnerability due to unsafely evaluating property names as XPath expressions. This allows unauthenticated attackers to conduct remote code execution via specially crafted input.

NVD: 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.

Compliance SSVC + BOD 26-04

Automatableyes
Technical impacttotal
Exploitation statusactive
3-day qualifyingYes
Public timeline3 days + forensic
Non-public timeline3 days + forensic
Forensic (public)Required
Forensic (non-public)Required

Research metadata

Last researched2026-09-10 06:42 UTC
Wall time15.2s
Searches18
Component defaultyes

Hunting hypothesis agent

Hunt GeoServer access and WAF logs for /geoserver/wfs requests carrying request=GetPropertyValue or valueReference=exec(java.lang.Runtime.getRuntime(),...) and POST bodies containing a <wfs:valueReference> XPath java call.

Research details

ComponentGeoTools gt-complex JAR (org.geotools:gt-complex) — specifically the commons-jxpath library (org.apache.commons:commons-jxpath)
PreconditionsNetwork reachability to GeoServer WFS (Web Feature Service), WMS (Web Map Service), or WPS (Web Processing Service) endpoints. No authentication required — the vulnerability is exploitable by unauthenticated attackers against default GeoServer installations. Target must be running a vulnerable version (< 2.22.6, < 2.23.6, < 2.24.4, or < 2.25.2). The attacker does not need prior knowledge of workspace/layer names as unauthenticated requests can probe endpoints. As confirmed by CISA (AA25-266A), threat actors have exploited this vulnerability within two weeks of disclosure for initial access to federal agency networks. agent
DeliveryCrafted OGC (Open Geospatial Consortium) service requests sent to GeoServer endpoints. The vulnerability is triggered via property name parameters in multiple request types: (1) WFS GetFeature requests with malicious propertyName values in either XML or Key-Value Pair (KVP) encoding; (2) WFS GetPropertyValue requests; (3) WMS GetMap requests via malformed property names; (4) WMS GetFeatureInfo requests; (5) WMS GetLegendGraphic requests; (6) WPS Execute requests. The injection payload consists of XPath expressions containing Java method invocations (e.g., using commons-jxpath's ability to call Java methods via XPath extension functions such as java.lang.Runtime.exec()). No authentication is required. The default GeoServer installation exposes these OGC endpoints at paths such as /geoserver/wfs, /geoserver/wms, /geoserver/wps. Attackers typically send crafted POST requests with XML payloads containing malicious XPath expressions in property name fields.
Public PoCyes
Exploit notesCVSS attack complexity: LOW | CRITICAL severity (CVSS 9.8) | Multiple public PoCs available within days of disclosure | Actively exploited in the wild per CISA KEV (added 2024-07-15) | GreyNoise observed mass scanning activity within 48 hours of disclosure | No authentication required, network-based exploitation | CISA Alert AA25-266A (September 2025) documents real-world exploitation of this vulnerability for initial access to a U.S. federal civilian agency, noting exploitation occurred within two weeks of public disclosure | The commons-jxpath library evaluates arbitrary XPath expressions allowing execution of Java code via specially crafted property names in OGC request parameters | Multiple open-source exploitation tools available with varying sophistication from mass scanners to GUI-based exploit frameworks. Public PoCs (vulhub, Mr-xn, Chocapikk) demonstrate GET /geoserver/wfs?request=GetPropertyValue&typeNames=<type>&valueReference=exec(java.lang.Runtime.getRuntime(),'cmd') and the equivalent POST XML using <wfs:valueReference>; available typeNames can be enumerated unauthenticated via request=ListStoredQueries. WAF bypasses obfuscate the XPath with XML comments or numeric character references (e.g. java.lang.T<!--IgnoreMe!-->hread).
SummaryCVE-2024-36401 is a critical unauthenticated remote code execution vulnerability in OSGeo GeoServer (CVSS 9.8) caused by unsafe evaluation of property names as XPath expressions by the GeoTools commons-jxpath library. The vulnerable component is the gt-complex JAR (org.geotools:gt-complex) which is included by default in all GeoServer distributions. Attackers exploit this via crafted OGC service requests — specifically WFS GetFeature, WFS GetPropertyValue, WMS GetMap, WMS GetFeatureInfo, WMS GetLegendGraphic, and WPS Execute — by injecting malicious XPath expressions in property name parameters that allow arbitrary Java method execution. Multiple public proof-of-concept exploits exist on GitHub (including Chocapikk/CVE-2024-36401 with 86 stars, whitebear-ch/GeoServerExploit with 122 stars, and jakabakos/CVE-2024-36401-GeoServer-RCE). CISA added this to KEV on 2024-07-15 with a 3-day remediation deadline. Active exploitation has been confirmed with mass scanning observed in the wild. In September 2025, CISA published incident response lessons (AA25-266A) detailing how threat actors exploited CVE-2024-36401 within two weeks of disclosure to compromise a U.S. federal civilian executive branch agency, using it for initial access and subsequent lateral movement. Detection should focus on monitoring OGC request parameters for XPath metacharacters and eval injection patterns across WFS/WMS/WPS endpoints. Mitigation involves upgrading to patched versions (2.22.6, 2.23.6, 2.24.4, 2.25.2) or removing the gt-complex-x.y.jar file as a temporary workaround.

Tia coverage

First reported2026-11-26

When Tia's reporting first covered this CVE and whether a report claimed exploitation before the KEV listing. Lead-time deltas are measured from the exploitation report only — plain coverage is not exploitation intel. See the story links under Mentioned in for coverage detail.

Mentioned in

redops-weavelotus-targets-southeast-asian-governments-for-south

Record schema v1.0. Enrichment is research-grade, not a substitute for analyst review.

Source on GitHub