CVE
CVE-2024-36401
geoserver · geoserver
- First Reported
- Jun 24, 2026
- Latest Reported
- Jul 10, 2026
CVE Enrichment
- CVSS
- 9.8 CRITICAL
- EPSS
- 99.81%
- EPSS Percentile
- 99.96%
- CISA KEV
- YES — Known Exploited Vulnerability
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.
Technical Details
- CVSS Version
- 3.1
- CNA / NVD Source
- [email protected]
- Published
- 01-Jul-2024 23:15
- Last Modified
- 17-Jun-2026 14:36
- EPSS Date
- 2026-11-10
- CWE
- CWE-95, CWE-94
CVSS Vector
CVSS:3.1 AV:N /
AC:L /
PR:N /
UI:N /
S:U /
C:H /
I:H /
A:H
CISA KEV Details
- Date Added
- 2024-07-15
- Remediation Due
- 2024-08-05
- Known Ransomware Campaign Use
- Unknown
- Required Action
- Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- Notes
- This vulnerability affects an open-source component, third-party library, or a protocol used by different products. For more information, please see: https://github.com/geoserver/geoserver/security/advisories/GHSA-6jj6-gm7p-fcvv, https://github.com/geotools/geotools/pull/4797 ; https://nvd.nist.gov/vuln/detail/CVE-2024-36401
CNA Products / Version Status
- geoserver · geoserver
Source: CNA · 134c704f-9b21-4f2e-91b3-4a467353bcc0
Default status: affected
0 ≤ version < 2.23.6 — affected (custom)
CPEs: cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:*
- geoserver · geoserver
Source: CNA · 134c704f-9b21-4f2e-91b3-4a467353bcc0
Default status: affected
2.24.0 ≤ version < 2.24.4 — affected (custom)
CPEs: cpe:2.3:a:geoserver:geoserver:2.24.0:-:*:*:*:*:*:*
- geoserver · geoserver
Source: CNA · 134c704f-9b21-4f2e-91b3-4a467353bcc0
Default status: affected
2.25.0 ≤ version < 2.25.2 — affected (custom)
CPEs: cpe:2.3:a:geoserver:geoserver:2.25.0:-:*:*:*:*:*:*
- geoserver · geoserver
Source: CNA · [email protected]
Default status: unknown
>= 2.23.0, < 2.23.6 — affected
>= 2.24.0, < 2.24.4 — affected
>= 2.25.0, < 2.25.2 — affected
< 2.22.6 — affected
Affected Products / Versions
- geoserver / geoserver
Source: NVD CPE · affected
Version / affected range: * · before (exclusive) 2.22.6
cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:* - geoserver / geoserver
Source: NVD CPE · affected
Version / affected range: * · from (inclusive) 2.23.0 · before (exclusive) 2.23.6
cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:* - geoserver / geoserver
Source: NVD CPE · affected
Version / affected range: * · from (inclusive) 2.24.0 · before (exclusive) 2.24.4
cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:* - geoserver / geoserver
Source: NVD CPE · affected
Version / affected range: * · from (inclusive) 2.25.0 · before (exclusive) 2.25.2
cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:* - geotools / geotools
Source: NVD CPE · affected
Version / affected range: * · before (exclusive) 29.6
cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:* - geotools / geotools
Source: NVD CPE · affected
Version / affected range: * · from (inclusive) 30.1 · before (exclusive) 30.4
cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:* - geotools / geotools
Source: NVD CPE · affected
Version / affected range: * · from (inclusive) 31.1 · before (exclusive) 31.2
cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:* - geotools / geotools
Source: NVD CPE · affected
Version / affected range: 30.0
cpe:2.3:a:geotools:geotools:30.0:-:*:*:*:*:*:* - geotools / geotools
Source: NVD CPE · affected
Version / affected range: 30.0
cpe:2.3:a:geotools:geotools:30.0:rc:*:*:*:*:*:* - geotools / geotools
Source: NVD CPE · affected
Version / affected range: 31.0
cpe:2.3:a:geotools:geotools:31.0:-:*:*:*:*:*:* - geotools / geotools
Source: NVD CPE · affected
Version / affected range: 31.0
cpe:2.3:a:geotools:geotools:31.0:rc:*:*:*:*:*:*
References
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- CISA Advisory
Sources: NVD · FIRST EPSS · CISA KEV
Latest successful provider update; providers refresh independently.
Reported Context (3)
- CVE-2024-36401 Recorded Future Reported 59 High-Impact Vulnerabilities in June, 56 Actively Exploited
- Taiwanese software development organizations, or a critical remote code execution bug in GeoServer (CVE-2024-36401) to target a Colombian organization. StrikeShark Campaign Uses SharkLoader to Deploy Cobalt Strike Beacon
- / ‘exploitation of Openfire (CVE-2023-32315)’ / ‘exploited a GeoServer instance vulnerable to CVE-2024-36401’). StrikeShark Campaign Uses SharkLoader to Deploy Cobalt Strike
CVE (55)
Malware (7)
People (1)
Threat Actors (4)
MITRE ATT&CK (19)
Vendors (24)
Products (60)
Tools (9)
Industries (5)
Countries (10)
Note: Related entities, including threat actors, malware, CVEs, MITRE ATT&CK techniques, vendors, products, tools, countries, and industries, are shown when they appear in the same reporting. Their presence does not necessarily mean they were targeted, compromised, vulnerable, responsible for the activity, or directly involved in the incident.
