Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-36401: OSGeo GeoServer GeoTools Eval Injection Vulnerability

97
Patch now
CRITICAL 9.8EXPLOITEDREMOTEUPGRADEUPGRADE

CVE-2024-36401 is a critical-severity flaw (CVSS 9.8) affecting geoserver, geotools, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 name

Why this priority

  • Critical severity
  • EPSS top 1%: very likely to be exploited
  • Exploited in the wild (CISA KEV)
  • Public exploit reference
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance99.8% (top 1%)
CISA exploited listYes, fix due 2024-08-05
WeaknessCWE-95, CWE-94
Published2024-07-01
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: geoserver · geotools

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

geoserver geoserver UPGRADE
Affected: < 2.22.6 · >= 2.23.0 and < 2.23.6 · >= 2.24.0 and < 2.24.4 · >= 2.25.0 and < 2.25.2
Fixed in: 2.22.6, 2.23.6, 2.24.4, 2.25.2
Safe to downgrade to: a release before 2.23.0
1. Check installed version
apt-cache policy geoserver || rpm -q geoserver || geoserver --version
2. UPGRADE to 2.22.6 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade geoserver
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade geoserver
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 2.23.0 (Debian / Ubuntu)
apt-cache madison geoserver sudo apt install geoserver=<VERSION_BEFORE_2.23.0> sudo apt-mark hold geoserver
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list geoserver sudo dnf downgrade geoserver-<VERSION_BEFORE_2.23.0> sudo dnf versionlock add geoserver
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
geotools geotools UPGRADE
Affected: < 29.6 · >= 30.1 and < 30.4 · >= 31.1 and < 31.2 · 30.0 · 30.0 rc · 31.0 · 31.0 rc
Fixed in: 29.6, 30.4, 31.2
Safe to downgrade to: a release before 30.0
1. Check installed version
apt-cache policy geotools || rpm -q geotools || geotools --version
2. UPGRADE to 29.6 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade geotools
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade geotools
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 30.0 (Debian / Ubuntu)
apt-cache madison geotools sudo apt install geotools=<VERSION_BEFORE_30.0> sudo apt-mark hold geotools
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list geotools sudo dnf downgrade geotools-<VERSION_BEFORE_30.0> sudo dnf versionlock add geotools
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

Maven · org.geoserver.web:gs-web-app · FIXED · 2.24.4 · vulnerable: >= 2.24.0, < 2.24.4 · source
Set org.geoserver.web:gs-web-app to 2.24.4 or later in pom.xml or build.gradle, then rebuild and redeploy.
Maven · org.geoserver:gs-wfs · FIXED · 2.24.4 · vulnerable: >= 2.24.0, < 2.24.4 · source
Set org.geoserver:gs-wfs to 2.24.4 or later in pom.xml or build.gradle, then rebuild and redeploy.
Maven · org.geoserver:gs-wms · FIXED · 2.24.4 · vulnerable: >= 2.24.0, < 2.24.4 · source
Set org.geoserver:gs-wms to 2.24.4 or later in pom.xml or build.gradle, then rebuild and redeploy.
Fedora ELN · gram_grep · FIXED · 0.10.4-1.eln159 · FEDORA-2026-0808475f2a · source
sudo dnf upgrade --advisory=FEDORA-2026-0808475f2a
Fedora 46 · wesnoth · FIXED · 1.19.29-1.fc46 · FEDORA-2026-58f458e24e · source
sudo dnf upgrade --advisory=FEDORA-2026-58f458e24e

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-36401?

geoserver: upgrade to 2.22.6, 2.23.6, 2.24.4, 2.25.2; geotools: upgrade to 29.6, 30.4, 31.2. Exact commands for each OS are on this page.

Is CVE-2024-36401 being exploited?

Yes. CVE-2024-36401 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.

What does CVE-2024-36401 affect?

CVE-2024-36401 affects geoserver, geotools. Severity is critical (CVSS 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

How urgent is CVE-2024-36401?

Priority 97/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.