CVE-2024-36401
Exploitation confirmed. First attested on 2024-07-13 by CISA-ADP, CISA KEV, GCVE · kevintel, GCVE · shadowserver.
- Published2024-07-01
- Fixed in2.25.2 · 2.24.4 · 2.23.6 · 2.22.6
- WeaknessCWE-94 · CWE-95
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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 names for feature types in a way that unsafely passes them to the commons-jxpath library which can execute arbitrary code when evaluating XPath expressions. This XPath evaluation is intended to be used only by complex feature types (i.e., Application Schema data stores) but is incorrectly being applied to simple feature types as well which makes this vulnerability apply to **ALL** GeoServer instances. No public PoC is provided but this vulnerability has been confirmed to be exploitable through WFS GetFeature, WFS GetPropertyValue, WMS GetMap, WMS GetFeatureInfo, WMS GetLegendGraphic and WPS Execute requests. This vulnerability can lead to executing arbitrary code. Versions 2.22.6, 2.23.6, 2.24.4, and 2.25.2 contain a patch for the issue. A workaround exists by removing the `gt-complex-x.y.jar` file from the GeoServer where `x.y` is the GeoTools version (e.g., `gt-complex-31.1.jar` if running GeoServer 2.25.1). This will remove the vulnerable code from GeoServer but may break some GeoServer functionality or prevent GeoServer from deploying if the gt-complex module is needed.
Timeline
dates in UTCVersions per branch
NVD · CISA-ADP · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.25 | ≥ 2.25.0, < 2.25.2 | 2.25.2 | NVD · CISA-ADP · OSV |
| 2.24 | ≥ 2.24.0, < 2.24.4 | 2.24.4 | NVD · CISA-ADP · OSV |
| 2.23 | ≥ 2.23.0, < 2.23.6 | 2.23.6 | NVD · OSV |
| 2.23 | < 2.23.6 | 2.23.6 | CISA-ADP |
| 2.22 | < 2.22.6 | 2.22.6 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 31.x | ≥ 31.1, < 31.2 | 31.2 | NVD |
| 30.x | ≥ 30.1, < 30.4 | 30.4 | NVD |
| 29.6 | < 29.6 | 29.6 | NVD |
| 30.0 | = 30.0 | no fix published | NVD |
| 31.0 | = 31.0 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- geoserverAffected
- = >= 2.23.0, < 2.23.6no fix stated
- = >= 2.24.0, < 2.24.4no fix stated
- = >= 2.25.0, < 2.25.2no fix stated
- = < 2.22.6no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-03-19
Fix
- Update Geoserver to 2.25.2 · 2.24.4 · 2.23.6 · 2.22.6
- CISA’s required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.due 2024-08-05
Advisories and patches
- github.comMitigation · Vendor Advisory
- github.comPatch
- github.comVendor Advisory
- osgeo-org.atlassian.netVendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub20 repositories, unverifiedknown since 2026-11-01bigb0x/CVE-2024-36401Niuwoo/CVE-2024-36401RevoltSecurities/CVE-2024-36401Mr-xn/CVE-2024-36401jakabakos/CVE-2024-36401-GeoServer-RCE
- Metasploit modules
- 1 moduleexploit/multi/http/geoserver_unauth_rce_cve_2024_36401rank: excellentModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause. Metasploit Framework
CISA Known Exploited Vulnerability
- Date Added
- 2024-07-15
- Patch Due Date
- 2024-08-05
- Ransomware Use
- Unknown
- Required Action
- Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Sources
- CISA KEVKEV entry2024-07-15
- ENISA EUVDexploitation2024-07-152024-07-15
- GCVEexploitation2024-07-15
- CISA-ADPSSVC decisionactive2024-07-13
- CNACVSS 3.19.8known since 2026-10-23
- NVDCVSS 3.19.8read 2026-10-23
- CNAweakness (CWE)CWE-95known since 2026-10-23
- NVDweakness (CWE)CWE-94read 2026-10-23
- FIRST EPSSEPSS score99.8 %read 2026-11-20
- PoC-in-GitHubproof of concept20known since 2026-11-01
- ProjectDiscoverydetectionread 2026-11-20
- Metasploit FrameworkMetasploit modules1known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCritical2024-07-01
Identifiers
- EUVD-2024-2280same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-6jj6-gm7p-fcvvsame flawGitHub Advisory Database · CC-BY-4.0
- exploit/multi/http/geoserver_unauth_rce_cve_2024_36401exploit moduleMetasploit Framework © Rapid7 · BSD-3-Clause
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2024-07-01
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-6jj6-gm7p-fcvv
Frequently asked questions
What is CVE-2024-36401?
Is CVE-2024-36401 actively exploited?
What is the CVSS score for CVE-2024-36401?
Hear about the next vulnerability in your software
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA KEV · CC0-1.0 (cisagov/kev-data)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-6jj6-gm7p-fcvv
- Metasploit Framework · BSD-3-Clause
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- CISA Vulnrichment · CC0-1.0