CVE-2024-36401: geoserver · Eval Injection
Affects geoserverSource GCVE Database
Exploited in the wild · KEV due 5 Aug 2024 · public exploit available (Metasploit) · fixed in 2.24.4 : patch geoserver now.
Data as of 30 Nov 2026, 19:49 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 9.8 |
|---|
- KEV deadline
- US federal agencies must patch by this date; a sensible deadline for everyone else. Other KEV due dates
- Patch
- Available – fixed in 2.24.4, 2.25.2, 2.23.6 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
t = 0 is the CVE’s publication on cve.org
Disclosed: evidence found.
CVE published 1 Jul 2024
Detectable: evidence found.
nuclei template: GeoServer RCE in Evaluating Property Name Expressions
Weaponized: evidence found.
Exploited in the wildExploited: evidence found.
Listed in CISA KEV 14 days after disclosure
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
Timeline
CVE ID reserved
by GitHub, Inc.
, 35 days before disclosure
CVE published
on cve.org
, t = 0
Added to CISA KEV (opens in a new tab)
exploitation confirmed
, 14 days after disclosure
KEV remediation due
US federal deadline
, 35 days after disclosure
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CISA KEV (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Mavenorg.geoserver.web:gs-web-apppkg:maven/org.geoserver.web/gs-web-appOther threats | Affected
| Fixed in
|
Mavenorg.geoserver.web:gs-web-apppkg:maven/org.geoserver.web/gs-web-appOther threats | Affected
| Fixed in
|
Mavenorg.geoserver.web:gs-web-apppkg:maven/org.geoserver.web/gs-web-appOther threats | Affected
| Fixed in
|
Mavenorg.geoserver.web:gs-web-apppkg:maven/org.geoserver.web/gs-web-appOther threats | Affected
| Fixed in
|
Mavenorg.geoserver:gs-wfspkg:maven/org.geoserver/gs-wfsOther threats | Affected
| Fixed in
|
Mavenorg.geoserver:gs-wfspkg:maven/org.geoserver/gs-wfsOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
CVE-2024-36401 is a critical remote code execution vulnerability in GeoServer affecting all default installations prior to versions 2.22.6, 2.23.6, 2.24.4, and 2.25.2. It arises from unsafe evaluation of property names as XPath expressions in multiple OGC request parameters, allowing unauthenticated attackers to execute arbitrary code. The flaw is due to the GeoTools library incorrectly applying complex feature type XPath evaluation to simple feature types. Exploitation is confirmed via various WFS, WMS, and WPS requests. Patched versions are available, and a workaround involves removing the vulnerable gt-complex module, though this may impact functionality.
References
- github.com/geoserver/geoserver/security/advisories/GHSA-6jj6-gm7p-fcvv (opens in a new tab)
- github.com/geotools/geotools/security/advisories/GHSA-w3pj-wh35-fq8w (opens in a new tab)
- github.com/geotools/geotools/pull/4797 (opens in a new tab)
- github.com/Warxim/CVE-2022-41852?tab=readme-ov-file (opens in a new tab)
- osgeo-org.atlassian.net/browse/GEOT-7587 (opens in a new tab)
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-36401 (opens in a new tab)
- vicarius.io/vsociety/posts/geoserver-rce-cve-2024-36401 (opens in a new tab)