CVE-2024-36401: OSGeo GeoServer GeoTools Eval Injection Vulnerability
CVE-2024-36401 is a critical-severity flaw (CVSS 9.8) affecting geoserver, geotools, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 name
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: whitebear-ch/GeoServerExploit (123 stars)
- GitHub PoC: Chocapikk/CVE-2024-36401 (89 stars)
- GitHub PoC: Mr-xn/CVE-2024-36401 (56 stars)
- Write-up: github.com/Warxim/CVE-2022-41852?tab=readme-ov-file#workaround-for-cve-2022-41852
- Write-up: github.com/geoserver/geoserver/security/advisories/GHSA-6jj6-gm7p-fcvv
- Write-up: github.com/geotools/geotools/security/advisories/GHSA-w3pj-wh35-fq8w
- Metasploit: Geoserver unauthenticated Remote Code Execution
- Nuclei scan template: GeoServer RCE in Evaluating Property Name Expressions
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-36401?
geoserver: upgrade to 2.22.6, 2.23.6, 2.24.4, 2.25.2; geotools: upgrade to 29.6, 30.4, 31.2. Exact commands for each OS are on this page.
Is CVE-2024-36401 being exploited?
Yes. CVE-2024-36401 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2024-36401 affect?
CVE-2024-36401 affects geoserver, geotools. Severity is critical (CVSS 9.8). 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
How urgent is CVE-2024-36401?
Priority 97/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2025-58360 HIGH 8.2 EXPLOITED UPGRADE OSGeo GeoServer Improper Restriction of XML External Entity Reference Vulnerability
- CVE-2025-21621 MEDIUM 6.1 UPGRADE GeoServer is an open source server that allows users to share and edit geospatial data
- CVE-2025-27511 HIGH 7.2 UPGRADE GeoServer is an open source server that allows users to share and edit geospatial data
- CVE-2025-52465 HIGH 7.2 UPGRADE GeoServer is an open source server that allows users to share and edit geospatial data
- CVE-2025-58175 MEDIUM 6.5 UPGRADE GeoServer is an open source server that allows users to share and edit geospatial data