CVE-2024-36404
CVE-2024-36404 — GeoTools Remote Code Execution (RCE) vulnerability in evaluating XPath expressions
GeoTools is an open source Java library that provides tools for geospatial data. Prior to versions 31.2, 30.4, and 29.6, Remote Code Execution (RCE) is possible if an application uses certain GeoTools functionality to evaluate XPath expressions supplied by user input. Versions 31.2, 30.4, and 29.6 contain a fix for this issue. As a workaround, GeoTools can operate with reduced functionality by removing the `gt-complex` jar from one's application. As an example of the impact, application schema `datastore` would not function without the ability to use XPath expressions to query complex content. Alternatively, one may utilize a drop-in replacement GeoTools jar from SourceForge for versions 31.1, 30.3, 30.2, 29.2, 28.2, 27.5, 27.4, 26.7, 26.4, 25.2, and 24.0. These jars are for download only and are not available from maven central, intended to quickly provide a fix to affected…
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
76%
chance of exploitation in 30 days
CVSS base
9.8
CRITICAL
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.1 | CRITICAL | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-95
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1027.006Obfuscated Files or Information: HTML Smuggling
- T1027.009Obfuscated Files or Information: Embedded Payloads
- T1564.009Hide Artifacts: Resource Forking
References
16 on the record
- github.com/geotools/geotools/security/advisories/GHSA-w3pj-wh35-fq8w
x_refsource_CONFIRM
- github.com/geotools/geotools/pull/4797
x_refsource_MISC
- github.com/geotools/geotools/commit/f0c9961dc4d40c5acfce2169fab92805738de5ea
x_refsource_MISC
- github.com/Warxim/CVE-2022-41852?tab=readme-ov-file#workaround-for-cve-2022-41852
x_refsource_MISC
- osgeo-org.atlassian.net/browse/GEOT-7587
x_refsource_MISC
- sourceforge.net/projects/geotools/files/GeoTools%2024%20Releases/24.0/geotools-24.0-patches.zip/download
x_refsource_MISC
- sourceforge.net/projects/geotools/files/GeoTools%2025%20Releases/25.2/geotools-25.2-patches.zip/download
x_refsource_MISC
- sourceforge.net/projects/geotools/files/GeoTools%2026%20Releases/26.4
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-33017 Langflow has Unauthenticated Remote Code Execution via Public Flow Build EndpointCVSS 9.8 · CISA KEV
- CVE-2025-24893 Remote code execution as guest via SolrSearchMacros request in xwikiCVSS 9.8 · CISA KEV
- CVE-2024-36401 Remote Code Execution (RCE) vulnerability in evaluating property name expressions in GeoserverCVSS 9.8 · CISA KEV
- CVE-2023-7101 Spreadsheet::ParseExcel Remote Code Execution VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2026-15413 Link Factory - BackdoorCVSS 10.0
- CVE-2026-19295 Langflow is affected by multiple remote code execution vulnerabilities due to insufficient code-execution policy enforcementCVSS 9.9
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.