CVE-2024-36404
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 applications.
Scoring
- Severity
- CRITICAL
- CVSS base score
- 9.8
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS probability
- 76.06%
- CWE
- CWE-95
- Published
- 2024-07-02
- Last modified
- 2026-03-13
Affected products
- geotools geotools
- geotools geotools
- geotools geotools
Weakness type
Related vulnerabilities
- CVE-2026-80351 — Apache Camel K: Camel K Tenant repositories reach Maven execution inside operator pod
- CVE-2026-78550 — Improper Input Handling in Okta Access Gateway Management Console Exception Handler
- CVE-2026-48273 — ColdFusion | Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') (CWE-95)
- CVE-2026-76190 — ColdFusion | Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') (CWE-95)
- CVE-2026-79678 — Freeipa: idm: freeipa: idp-add eval() reachable before authorization check allows environment disclosure and denial of service
- CVE-2026-85165 — n8n before 2.36.2 Expression Sandbox Bypass via SpreadElement
- CVE-2026-65643 — Eval injection in cPanel 11.138.0.0 and earlier allows remote authenticated users to execute...
- CVE-2026-19295 — Langflow is affected by multiple remote code execution vulnerabilities due to insufficient code-execution policy enforcement