--- title: "CVE-2024-36404: GeoTools Remote Code Execution (RCE)… | CubePath" description: "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)…" language: en source: https://cubepath.com/security/cve/CVE-2024-36404 --- # CVE-2024-36404: GeoTools Remote Code Execution (RCE)… | CubePath ## Description 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. Official description from the CVE record, published by GitHub\_M. Copyright © 1999-2026 The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CVE license. [View the record on cve.org](https://www.cve.org/CVERecord?id=CVE-2024-36404) ## Key data ### CVSS 3.1 Critical 9.8 Score published by GitHub\_M in the CVE record. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | Metric | Value | What it means | | ---------------------- | --------- | ----------------------------------------------------------------------------------- | | Attack vector | Network | The vulnerable component can be reached over a network, possibly from the Internet. | | Attack complexity | Low | No special conditions are needed. The attack can be repeated at will. | | Privileges required | None | No account or privileges are needed. | | User interaction | None | No action from any user is needed. | | Scope | Unchanged | The impact stays within the vulnerable component. | | Confidentiality impact | High | Serious or total effect on the secrecy of data. | | Integrity impact | High | Serious or total effect on the trustworthiness of data. | | Availability impact | High | Serious or total effect on availability. | CVSS is owned and managed by FIRST.Org, Inc. (FIRST) and is used by permission. Each CVSS score on this site is shown together with its vector string, as published in the CVE record by the source named next to it. Learn more at [first.org/cvss](https://www.first.org/cvss/) . ### EPSS Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days. Score 0.76065 (76.1% probability) Percentile 99.5% Scores of Nov 10, 2026 Model v2026.06.15 ### CISA assessment as of Jul 12, 2024 Stakeholder-Specific Vulnerability Categorization (SSVC) decision points added by CISA. Automatable yes Technical impact total ### Weakness (CWE) CWE catalog version 5.0. CWE names: Copyright © 2006-2026, The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CWE license. - [CWE-95](https://cwe.mitre.org/data/definitions/95.html) Improper Neutralization of Directives in Dynamically Evaluated Code ## Affected products Products listed in the CVE record, as the CNA published them. - geotools - affected: < 29.6 - affected: >= 30.0, < 30.4 - affected: >= 31.0, < 31.2 ## References Links listed in the CVE record. They lead to other sites, which CubePath does not control. - [github.com/geotools/geotools/security/advisories/GHSA-w3pj-…](https://github.com/geotools/geotools/security/advisories/GHSA-w3pj-wh35-fq8w) - [github.com/geotools/geotools/pull/4797](https://github.com/geotools/geotools/pull/4797) - [github.com/geotools/geotools/commit/f0c9961dc4d40c5acfce216…](https://github.com/geotools/geotools/commit/f0c9961dc4d40c5acfce2169fab92805738de5ea) - [github.com/Warxim/CVE-2022-41852?tab=readme-ov-file](https://github.com/Warxim/CVE-2022-41852?tab=readme-ov-file#workaround-for-cve-2022-41852) - [osgeo-org.atlassian.net/browse/GEOT-7587](https://osgeo-org.atlassian.net/browse/GEOT-7587) - [sourceforge.net/projects/geotools/files/GeoTools%2024%20Rel…](https://sourceforge.net/projects/geotools/files/GeoTools%2024%20Releases/24.0/geotools-24.0-patches.zip/download) - [sourceforge.net/projects/geotools/files/GeoTools%2025%20Rel…](https://sourceforge.net/projects/geotools/files/GeoTools%2025%20Releases/25.2/geotools-25.2-patches.zip/download) - [sourceforge.net/projects/geotools/files/GeoTools%2026%20Rel…](https://sourceforge.net/projects/geotools/files/GeoTools%2026%20Releases/26.4) - [sourceforge.net/projects/geotools/files/GeoTools%2026%20Rel…](https://sourceforge.net/projects/geotools/files/GeoTools%2026%20Releases/26.7/geotools-26.7-patches.zip/download) - [sourceforge.net/projects/geotools/files/GeoTools%2027%20Rel…](https://sourceforge.net/projects/geotools/files/GeoTools%2027%20Releases/27.4/geotools-27.4-patches.zip/download) - [sourceforge.net/projects/geotools/files/GeoTools%2027%20Rel…](https://sourceforge.net/projects/geotools/files/GeoTools%2027%20Releases/27.5/geotools-27.5-patches.zip/download) - [sourceforge.net/projects/geotools/files/GeoTools%2028%20Rel…](https://sourceforge.net/projects/geotools/files/GeoTools%2028%20Releases/28.2/geotools-28.2-patches.zip/download) - [sourceforge.net/projects/geotools/files/GeoTools%2029%20Rel…](https://sourceforge.net/projects/geotools/files/GeoTools%2029%20Releases/29.2/geotools-29.2-patches.zip/download) - [sourceforge.net/projects/geotools/files/GeoTools%2030%20Rel…](https://sourceforge.net/projects/geotools/files/GeoTools%2030%20Releases/30.2/geotools-30.2-patches.zip/download) - [sourceforge.net/projects/geotools/files/GeoTools%2030%20Rel…](https://sourceforge.net/projects/geotools/files/GeoTools%2030%20Releases/30.3/geotools-30.3-patches.zip/download) - [sourceforge.net/projects/geotools/files/GeoTools%2031%20Rel…](https://sourceforge.net/projects/geotools/files/GeoTools%2031%20Releases/31.1) ## Timeline 1. ID reserved May 27, 2024 2. Record published Jul 2, 2024 3. Record last updated Aug 2, 2024 ## Look up another CVE ## About CubePath CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection. [Cloud VPS](https://cubepath.com/vps) [DDoS protection](https://cubepath.com/ddos-protection) Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 20:02 UTC. [Sources and licenses](https://cubepath.com/security/cve/legal)