boxscore/security
CVE · referencelatest edition

Reference page — cumulative record through Sunday, October 4, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.

CVE-2024-36401

geoserver geoserver — Remote Code Execution (RCE) vulnerability in evaluating property name expressions in Geoserver
  AV  AC  PR  UI  S  C  I  A   CVSS    EPSS    %ile   KEV
   N   L   N   N  U  H  H  H    9.8   .9981   100.0   YES
AFFECTED
  Product    Versions               Fixed
  geoserver  >= 2.23.0, < 2.23.6 –  —
TIMELINE
  May 27  Reserved by GitHub_M
  Jul 1   Published (CNA: GitHub_M)
  Jul 15  Added to CISA KEV, remediation due 2024-08-05
CWE-95 · CNA: GitHub_M · CVSS v3.1 · 7 references · KEV due August 5, 2024

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.

Lifecycle

Complete event history — 3 events, chronological
DateEventDetail
May 27, 2024ReservedReserved by GitHub_M
July 1, 2024PublishedPublished (CNA: GitHub_M)
July 15, 2024KEV ADDEDAdded to CISA KEV, remediation due 2024-08-05

Affected

Affected products and packages — 1 row
VendorProduct / PackageEcosystemVersion introducedFixed
geoservergeoserver—>= 2.23.0, < 2.23.6—

Weaknesses

CWE-95

References (7)

Related

Authoritative record: CVE-2024-36401 at cve.org

Vendors: geoserver

Weaknesses: CWE-95

About this page

This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2024-36401 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Sunday, October 4, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.