GHSA-6jj6-gm7p-fcvv · Severity: critical · Ecosystem: maven — Remote Code Execution (RCE) vulnerability in geoserver
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.
Conclusion & alert: CVE-2024-36401 is rated Critical Active Threat (97.4/100): CVSS Critical severity, with high exploitation likelihood (EPSS 94.37%, 100th percentile). Core evidence: CISA KEV confirms active exploitation (added 2024-07-15) affecting OSGeo / GeoServer. a weakness (CWE-94) Unauthenticated remote administrative access may be possible. Mandatory action: The CISA remediation deadline has passed—treat as an emergency patch priority.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
: OSGeo GeoServer GeoTools Eval Injection Vulnerability · CISA KEV detail
: 2024-07-15
: 2024-08-05
: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-03-17 | 96.19% | 94.37% | -1.82% |
| 2 | 2025-02-17 | 95.59% | 96.19% | +0.59% |
| 3 | 2025-02-07 | — | 95.59% | — |
Full EPSS history (18 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-6jj6-gm7p-fcvv · Severity: critical · Ecosystem: maven — Remote Code Execution (RCE) vulnerability in geoserver
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| geoserver | geoserver | < 2.22.6 | cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:* |
| geoserver | geoserver | >= 2.23.0, < 2.23.6 | cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:* |
| geoserver | geoserver | >= 2.24.0, < 2.24.4 | cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:* |
| geoserver | geoserver | >= 2.25.0, < 2.25.2 | cpe:2.3:a:geoserver:geoserver:*:*:*:*:*:*:*:* |
| geotools | geotools | < 29.6 | cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:* |
| geotools | geotools | >= 30.1, < 30.4 | cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:* |
| geotools | geotools | >= 31.1, < 31.2 | cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:* |
| geotools | geotools | 30.0 | cpe:2.3:a:geotools:geotools:30.0:-:*:*:*:*:*:* |
| geotools | geotools | 30.0 | cpe:2.3:a:geotools:geotools:30.0:rc:*:*:*:*:*:* |
| geotools | geotools | 31.0 | cpe:2.3:a:geotools:geotools:31.0:-:*:*:*:*:*:* |
| geotools | geotools | 31.0 | cpe:2.3:a:geotools:geotools:31.0:rc:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/Warxim/CVE-2022-41852?tab=readme-ov-file#workaround-for-cve-2022-41852 | Exploit Third Party Advisory |
| https://github.com/geoserver/geoserver/security/advisories/GHSA-6jj6-gm7p-fcvv | Mitigation Vendor Advisory |
| https://github.com/geotools/geotools/pull/4797 | Issue Tracking Patch |
| https://github.com/geotools/geotools/security/advisories/GHSA-w3pj-wh35-fq8w | Exploit Vendor Advisory |
| https://osgeo-org.atlassian.net/browse/GEOT-7587 | Vendor Advisory |
| https://www.vicarius.io/vsociety/posts/geoserver-rce-cve-2024-36401 | Exploit Third Party Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-36401 | US Government Resource |