CISA list

As of , CVE-2024-36401 in OSGeo GeoServer is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.

CVE-2024-36401

OSGeo GeoServer: GeoTools Eval Injection. Exploited, and in our Patch this week group.

Our patch-first group

Patch this week

  • Metasploit module
  • EPSS 0.99

CISA's required action

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Patch infofixed versions and vendor advice

What to install

  • Affects geoserver before 2.22.6, from 2.23.0 before 2.23.6, from 2.24.0 before 2.24.4 and from 2.25.0 before 2.25.2.

    Fixed in 2.22.6, 2.23.6, 2.24.4 and 2.25.2.

Vendor advice

Vendor advice: github.com, from CISA's entry.

EPSS score
0.99
Higher than 99% of the CVEs EPSS scores.

EPSS estimates the chance of exploitation activity in the next 30 days.

Exploited
Yes CISA listed it on 15 July 2024
US federal deadline
5 August 2024 21 days after CISA listed it. US federal civilian agencies must fix it by then.
Used in ransomware campaigns
Not known to CISA
EPSS when listed
0.78 on 15 July 2024 EPSS on the day CISA listed it.
Public exploit
1 Metasploit module

In software packages

Affected packages

Software packages that the advisories for this CVE name. Each line is what one advisory says, with its id.

  • org.geoserver.web:gs-web-appMaven

    Affects org.geoserver.web:gs-web-app before 2.22.6, from 2.23.0 before 2.23.6, from 2.24.0 before 2.24.4 and from 2.25.0 before 2.25.2.

    Fixed in 2.22.6, 2.23.6, 2.24.4 and 2.25.2.

    Advisory GHSA-6jj6-gm7p-fcvv
  • org.geoserver:gs-wfsMaven

    Affects org.geoserver:gs-wfs before 2.22.6, from 2.23.0 before 2.23.6, from 2.24.0 before 2.24.4 and from 2.25.0 before 2.25.2.

    Fixed in 2.22.6, 2.23.6, 2.24.4 and 2.25.2.

    Advisory GHSA-6jj6-gm7p-fcvv
  • org.geoserver:gs-wmsMaven

    Affects org.geoserver:gs-wms before 2.22.6, from 2.23.0 before 2.23.6, from 2.24.0 before 2.24.4 and from 2.25.0 before 2.25.2.

    Fixed in 2.22.6, 2.23.6, 2.24.4 and 2.25.2.

    Advisory GHSA-6jj6-gm7p-fcvv

Since listing

EPSS since listing

0.000.501.000.50: EPSS line for Patch this weekListed by CISAEPSS model v2025.03.14EPSS model v2026.06.15202520260.000.501.00Listed by CISAEPSS model v2025.03.14EPSS model v2026.06.1520252026

EPSS for CVE-2024-36401 since CISA listed it, on the days its value to 2 decimals changed. EPSS scores by FIRST.

Show the numbers
FromEPSS
0.78
0.95
0.96
0.95
0.96
0.95
0.96
0.94
0.99

Timeline

What happened when

  1. The CVE record was published.
  2. CISA added it to its list of exploited vulnerabilities.
  3. The US federal deadline to fix it.

CISA's required action

What CISA says to do

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Read further: CISA's catalog

The flaw

What the flaw is

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's 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).

The CVE record's description, from GitHub_M, shortened; full text on cve.org

CVE published
1 July 2024
Assigned by
GitHub_M
CVSS
9.8 Critical (CVSS 3.1, from the CNA)
CWE-95
Improper Neutralization of Directives in Dynamically Evaluated Code
CISA SSVC, exploitation
active
CISA SSVC, automatable
yes
CISA SSVC, technical impact
total

Public exploits

Public exploits

Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.

Metasploit
Geoserver unauthenticated Remote Code Execution
exploit module, rank excellent

Same product

GeoServer: other exploited entries

Other exploited GeoServer entries
VulnerabilityProductOur groupListedDeadlineEPSS
CVE-2025-58360Improper Restriction of XML External Entity ReferenceGeoServerPatch this weekMetasploitDue0.61
Sources
  • CVE records: Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation (source). Licence: CVE Program Terms of Use
  • CWE names: Copyright © 2006-2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation (source). Licence: CWE Terms of Use
  • EPSS scores by FIRST (https://www.first.org/epss/), generated by Empirical Security (source)
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0