CVE-2024-36401: OSGeo GeoServer GeoTools Eval Injection Vulnerability
Affects OSGeo GeoServerSource CISA KEV
Exploited in the wild · KEV due 5 Aug 2024 · public exploit available (Metasploit) · 99% EPSS : apply the vendor's fix or mitigations to OSGeo GeoServer now.
Data as of 10/24/2026, 20:40:27 UTC
- Exploitation
Actively exploited – in CISA KEV since 07/15/2024
- KEV deadline
- 08/05/2024 US federal agencies must patch by this date; a sensible deadline for everyone else.
- EPSS
- 99.8% chance of exploitation in 30 days – higher than 99% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Public exploits
- 1 Metasploit module, a Nuclei detection templatePublic attack or detection tooling exists; see Public exploits below.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWhat to do
CISA required action
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Check your hosts for OSGeo GeoServer with threat-finder (opens in a new tab), our free open-source scanner.
Public exploits and detection
Metasploit modules
Nuclei detection templates
Public tooling indexed from Metasploit Framework, Exploit-DB and ProjectDiscovery nuclei-templates. Its existence raises the odds of exploitation; it does not confirm attacks.
Description
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.
Weaknesses
- CWE-95Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') (opens in a new tab)
Variant weaknessLikelihood of exploit: MediumOWASP Top 10 A05:2025: Injection (opens in a new tab)
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").
References
- github.com/geoserver/geoserver/security/advisories/GHSA-6jj6-gm7p-fcvv, (opens in a new tab)
- github.com/geotools/geotools/pull/4797 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2024-36401 (opens in a new tab)
- cisa.gov/known-exploited-vulnerabilities-catalog?search=CVE-2024-36401 (opens in a new tab)