CVE-2024-36401
CriticalExploitedPublic exploitRemote Code Execution (RCE) vulnerability in geoserver
Published Jul 1, 2024 · Updated Aug 12, 2026 · Also known as GHSA-6jj6-gm7p-fcvv
Key Facts
Patch immediately- CVE-2024-36401 is a critical-severity vulnerability (CVSS 9.3 v4) affecting Geoserver, Geotools, org.geoserver:gs-wfs (maven) and 2 more products.
- It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Jul 3, 2024. Public exploit code is available.
- EPSS estimates a 100% probability of exploitation in the next 30 days.
- Fixed versions are available, including Geoserver 2.22.6, Geotools 29.6, org.geoserver:gs-wfs 2.22.6.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
CVSS v4
9.3
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A
EPSS (30-day exploit likelihood)
100%
Higher than 99.9% of all scored CVEs
Exploited in the wild
Yes
4 catalog listings
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2024-36401 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CISA KEV | Jul 15, 2024 | Aug 5, 2024 | Not reported |
| Industry KEV feed | Jul 3, 2024 | Aug 5, 2024 | Not reported |
| CIRCL KEV | Jul 15, 2024 | Aug 5, 2024 | Not reported |
| ENISA EUVD | Jul 15, 2024 | n/a | Not reported |
Required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Affected Products
10 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| GeoserverGeoserver | >= >= 2.23.0, < 2.23.6 | 2.22.6 |
| GeotoolsGeotools | 30.0, 30.0-rc, 31.0, 31.0-rc | 29.6 |
| org.geoserver:gs-wfsmaven | >= 2.24.0 | 2.22.6 |
| org.geoserver:gs-wmsmaven | >= 2.24.0 | 2.22.6 |
| org.geoserver.web:gs-web-appmaven | >= 2.24.0 | 2.22.6 |
Patched Releases
Geoserver
2.22.6
Geotools
29.6
org.geoserver:gs-wfs
2.22.6, 2.23.6, 2.24.4, 2.25.2
org.geoserver:gs-wms
2.22.6, 2.23.6, 2.24.4, 2.25.2
org.geoserver.web:gs-web-app
2.22.6, 2.23.6, 2.24.4, 2.25.2
Timeline
Publicly disclosed
Jul 1, 2024
Added to Industry KEV feed
Jul 3, 2024
Added to CISA KEV
Jul 15, 2024
Added to CIRCL KEV
Jul 15, 2024
Added to ENISA EUVD
Jul 15, 2024
Last updated
Aug 12, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code ('Code Injection')
- CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
References
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36401.json
- advisoryhttps://github.com/geoserver/geoserver/security/advisories/GHSA-6jj6-gm7p-fcvv
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-36401
- advisoryhttps://osgeo-org.atlassian.net/browse/GEOT-7587
FAQ
Common Questions.
GeoServer is an open source server that allows users to share and edit geospatial data.
Affected: Geoserver versions >= >= 2.23.0, < 2.23.6; Geotools versions 30.0, 30.0-rc, 31.0, 31.0-rc; org.geoserver:gs-wfs (maven) versions >= 2.24.0, among others. The full list is in the CVE brief.
It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Jul 3, 2024.
Yes. It was added on Jul 15, 2024 with a federal remediation due date of Aug 5, 2024.
Public exploit code is available.
Fixed versions are available, including Geoserver 2.22.6, Geotools 29.6, org.geoserver:gs-wfs 2.22.6.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2024-36401 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo