CVEBrief

Home / geoserver / geoserver / CVE-2024-36401

CVE-2024-36401: is it exploited, and which versions of geoserver are affected and fixed?

CVE-2024-36401 is a code injection through eval vulnerability in geoserver, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on July 15, 2024, with a federal due date of August 5, 2024. Affected: org.geoserver.web:gs-web-app from 2.24.0 before 2.24.4, org.geoserver:gs-wfs from 2.24.0 before 2.24.4, org.geoserver:gs-wms from 2.24.0 before 2.24.4 and 9 more (GitHub advisory GHSA-6jj6-gm7p-fcvv). Fixed in 2.24.4, 2.25.2, 2.23.6 and 2.22.6 (GitHub advisory GHSA-6jj6-gm7p-fcvv). Severity: Critical (9.8, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 30, 2026, 20:09 UTC.

Exploited in the wild
Yes, CISA KEV
added July 15, 2024, due August 5, 2024
Affected
org.geoserver.web:gs-web-app from 2.24.0 before 2.24.4, org.geoserver:gs-wfs from 2.24.0 before 2.24.4, org.geoserver:gs-wms from 2.24.0 before 2.24.4 and 9 more
GitHub advisory GHSA-6jj6-gm7p-fcvv
Fixed in
2.24.4, 2.25.2, 2.23.6 and 2.22.6
GitHub advisory GHSA-6jj6-gm7p-fcvv
Severity
Critical 9.8
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
99.8% in 30 days
higher than 100% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2024-36401?

Remote Code Execution (RCE) vulnerability in evaluating property name expressions 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.

From the CVE record by GitHub_M, last updated October 21, 2025, 22:56 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
geoservergeoserver>= 2.23.0, < 2.23.6
>= 2.24.0, < 2.24.4
>= 2.25.0, < 2.25.2
< 2.22.6

As the CVE record by GitHub_M states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Mavenorg.geoserver.web:gs-web-app>= 2.24.0, < 2.24.42.24.4GHSA-6jj6-gm7p-fcvv
Mavenorg.geoserver:gs-wfs>= 2.24.0, < 2.24.42.24.4GHSA-6jj6-gm7p-fcvv
Mavenorg.geoserver:gs-wms>= 2.24.0, < 2.24.42.24.4GHSA-6jj6-gm7p-fcvv
Mavenorg.geoserver.web:gs-web-app>= 2.25.0, < 2.25.22.25.2GHSA-6jj6-gm7p-fcvv
Mavenorg.geoserver:gs-wfs>= 2.25.0, < 2.25.22.25.2GHSA-6jj6-gm7p-fcvv
Mavenorg.geoserver:gs-wms>= 2.25.0, < 2.25.22.25.2GHSA-6jj6-gm7p-fcvv
Mavenorg.geoserver.web:gs-web-app>= 2.23.0, < 2.23.62.23.6GHSA-6jj6-gm7p-fcvv
Mavenorg.geoserver:gs-wfs>= 2.23.0, < 2.23.62.23.6GHSA-6jj6-gm7p-fcvv
Mavenorg.geoserver:gs-wms>= 2.23.0, < 2.23.62.23.6GHSA-6jj6-gm7p-fcvv
Mavenorg.geoserver.web:gs-web-app< 2.22.62.22.6GHSA-6jj6-gm7p-fcvv
Mavenorg.geoserver:gs-wfs< 2.22.62.22.6GHSA-6jj6-gm7p-fcvv
Mavenorg.geoserver:gs-wms< 2.22.62.22.6GHSA-6jj6-gm7p-fcvv

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 22, 2025. Summary: Remote Code Execution (RCE) vulnerability in geoserver.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
osgeogeoserverbefore 2.22.6application
osgeogeoserverfrom 2.23.0 before 2.23.6application
osgeogeoserverfrom 2.24.0 before 2.24.4application
osgeogeoserverfrom 2.25.0 before 2.25.2application
osgeogeotoolsbefore 29.6application
osgeogeotoolsfrom 30.1 before 30.4application
osgeogeotoolsfrom 31.1 before 31.2application
osgeogeotools30.0application
osgeogeotools31.0application

NVD analysis (status Analyzed), last modified November 30, 2026, 19:14 UTC.

How severe is CVE-2024-36401?

ScoreVersionVectorSource
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HGitHub_M
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2024-36401 exploited in the wild?

CISA KEV
Listed as OSGeo GeoServer GeoTools Eval Injection Vulnerability, added July 15, 2024; federal agencies must act by August 5, 2024
Required action
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Ransomware use
Unknown
CISA's summary
OSGeo GeoServer GeoTools contains an improper neutralization of directives in dynamically evaluated code vulnerability due to unsafely evaluating property names as XPath expressions. This allows unauthenticated attackers to conduct remote code execution via specially crafted input.
CISA SSVC
Exploitation: active; automatable: yes; technical impact: total (CISA ADP, July 13, 2024)
EPSS
99.8% probability of exploitation activity in the next 30 days, percentile 100.0 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
May 27, 2024
Published
July 1, 2024, 15:25 UTC
CVE record updated
October 21, 2025, 22:56 UTC by GitHub_M
NVD
Analyzed, last modified November 30, 2026, 19:14 UTC
Last checked
CVE list November 19, 2026, 07:11 UTC; NVD November 30, 2026, 20:09 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD · CISA KEV

What other CVEs affect geoserver?

Every CVE in geoserver

Questions about CVE-2024-36401

Is CVE-2024-36401 exploited in the wild?

Yes. CISA added CVE-2024-36401 to its Known Exploited Vulnerabilities catalog on July 15, 2024 and set federal agencies a due date of August 5, 2024. FIRST's EPSS gives it a 99.8% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of geoserver are affected by CVE-2024-36401?

org.geoserver.web:gs-web-app from 2.24.0 before 2.24.4, org.geoserver:gs-wfs from 2.24.0 before 2.24.4, org.geoserver:gs-wms from 2.24.0 before 2.24.4, org.geoserver.web:gs-web-app from 2.25.0 before 2.25.2, org.geoserver:gs-wfs from 2.25.0 before 2.25.2, org.geoserver:gs-wms from 2.25.0 before 2.25.2 and 6 more, per the GitHub advisory GHSA-6jj6-gm7p-fcvv. The tables above give every range the sources list.

Which version fixes CVE-2024-36401?

2.24.4, 2.25.2, 2.23.6 and 2.22.6, per the GitHub advisory GHSA-6jj6-gm7p-fcvv. Check the vendor's advisory before you rely on it.

How severe is CVE-2024-36401?

Critical (9.8, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2024-36401?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.