cybersecurity Request an audit

Actively exploited vulnerability / CVE-2024-36401

GeoServer: attackers can take over the server without a password

This flaw lets an attacker with no account or password run any command they want on the server hosting GeoServer. That means they could steal or change data, install malicious software and use the server as a way into the rest of your network. It is on the lists of vulnerabilities used in real attacks kept by both CISA (the US cybersecurity agency) and ENISA (the EU cybersecurity agency).

Identifier
CVE-2024-36401 · EUVD-2024-2280
Severity
Critical (9.8/10)
On the CISA list (US)
yes, since 15 July 2024
Deadline given to US federal agencies
5 August 2024
On the ENISA list (EU)
yes
Probability of exploitation (EPSS)
99.8% (FIRST's estimate for the next 30 days)

Does it concern you?

GeoServer is an open source server for publishing and editing geographic data such as maps and GIS layers. It is typically used by surveying, land registry, utility, logistics and agriculture companies, and by organisations that show maps online.

The version is shown in the GeoServer admin page under "About & Status", or you can ask whoever manages the server. Affected are versions older than 2.22.6, 2.23 versions before 2.23.6, 2.24 versions before 2.24.4 and 2.25 versions before 2.25.2.

Affected products and versions

  • OSGeo GeoServer
  • geoserver: before 2.22.6; from 2.23.0 before 2.23.6; from 2.24.0 before 2.24.4; from 2.25.0 before 2.25.2
  • geotools: before 29.6; from 30.1 before 30.4; from 31.1 before 31.2

What to do

Update GeoServer to version 2.22.6, 2.23.6, 2.24.4, 2.25.2 or later. If you cannot update right away, ask your administrator to apply the vendor's temporary workaround or take the server offline until it is updated.

Versions that contain the fix: 2.22.6, 2.23.6, 2.24.4, 2.25.2, 29.6, 30.4, 31.2.

The official description

The text below is the description from the public database.

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.

Sources

Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.

Other exploited vulnerabilities in OSGeo GeoServer

All exploited vulnerabilities in OSGeo GeoServer

What you can do next

Request an audit

Find out what you expose, before someone else does.

Tell us who you are, confirm by email, and we will call you. Nothing is checked until you agree.

  1. You confirm by email, then we call you within two working days to understand your company and what should be checked.
  2. You get a fixed quote and a permission form that says exactly what we may test, and when.
  3. We do the work in the window you chose, and keep you posted.
  4. You get the report and a walkthrough call, then one retest of its findings within 30 days.

Only systems you own or may have checked / written permission first

Request an audit

No passwords or access details here. We ask for what we need after you sign the permission form.

After you send this, we email you a link to confirm it. We contact you only after you confirm.