BreachSpiderVerified, not vibes

CVE-2024-36401 in Geoserver and 1 more product

Known-exploited (CISA) since 2024-07-15 Critical 9.8

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 unsa...

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.19.8
EPSS99.8%
EPSS percentile100th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Geoserver Geoserver < 2.23.6 ≥ 2.24.0, < 2.24.4 ≥ 2.25.0, < 2.25.2
Geotools Geotools 30.0 31.0 < 29.6 ≥ 30.1, < 30.4 ≥ 31.1, < 31.2
Osgeo Geoserver < 2.22.6 ≥ 2.23.0, < 2.23.6 ≥ 2.24.0, < 2.24.4 ≥ 2.25.0, < 2.25.2
Osgeo Geotools 30.0 31.0 < 29.6 ≥ 30.1, < 30.4 ≥ 31.1, < 31.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedYes added 2024-07-15
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-36401
BreachSpider IDBS-2024-GLOBAL-269372-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2024-07-01
Last modified2026-11-30
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-94: Code Injection

Attacker injects arbitrary code that is executed by the application process.

CWE-95: CWE-95

Related attack patterns (CAPEC)

CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94, CWE-95

CAPEC-77 Manipulating User-Controlled Variables via CWE-94

CAPEC-242 Code Injection via CWE-94

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2024-36401 affects GeoServer versions prior to 2.22.6, 2.23.6, 2.24.4, and 2.25.2, allowing unauthenticated users to execute arbitrary code via specially crafted OGC request parameters. The vulnerability is critical with a CVSS score of 9.8 and has a high exploitation likelihood due to its ease of exploitation and lack of authentication requirements. Immediate remediation is advised to prevent potential compromise of affected systems.

The vulnerability arises from the GeoTools library API, which evaluates property/attribute names for feature types in a way that unsafely passes them to the commons-jxpath library. This can lead to Remote Code Execution (RCE) when evaluating XPath expressions. The vulnerability is present in all GeoServer instances, not just those using complex feature types. The attack can be executed through various OGC requests such as WFS GetFeature, WFS GetPropertyValue, WMS GetMap, WMS GetFeatureInfo, WMS GetLegendGraphic, and WPS Execute.

Compensating controls AI-drafted, review before use

Implement strict input validation and sanitization for all OGC request parameters. Consider deploying a Web Application Firewall (WAF) to filter out suspicious requests. Regularly monitor logs for unusual activity and apply the latest security patches.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2024-36401?

CVE-2024-36401 affects GeoServer versions prior to 2.22.6, 2.23.6, 2.24.4, and 2.25.2, allowing unauthenticated users to execute arbitrary code via specially crafted OGC request parameters. The vulnerability is critical with a CVSS score of 9.8 and has a high exploitation likelihood due to its ease of exploitation and lack of authentication requirements. Immediate remediation is advised to prevent potential compromise of affected systems.

What is the CVSS score for CVE-2024-36401?

CVE-2024-36401 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 99.8%.

Is CVE-2024-36401 actively exploited?

Yes. CVE-2024-36401 is in the CISA known-exploited catalog (added 2024-07-15). Active exploitation confirmed. Immediate patching required.

How do I remediate CVE-2024-36401?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2024-36401?

CVE-2024-36401 affects Geoserver Geoserver; Geotools Geotools.

What NERC-CIP standard applies to CVE-2024-36401?

NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access and control of critical cyber assets, which could disrupt the reliability of the bulk electric system.

What IEC 62443 requirement maps to CVE-2024-36401?

IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that can be exploited remotely without authentication, leading to the execution of arbitrary code on the affected system, which compromises the security of the industrial control system.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Geoserver","product":"Geoserver","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-30.