Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-30220: GeoServer is an open source server that allows users to share and edit geospatial data

69
This week
CRITICAL 9.9REMOTEUPGRADEUPGRADEUPGRADE

CVE-2025-30220 is a critical-severity flaw (CVSS 9.9) affecting geotools, geonetwork, geoserver. 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. GeoTools Schema class use of Eclipse XSD library to represent schema data structure is vulnerable to XML External Entity (XXE) exploit. This impacts whoever exposes XML processing with gt-xsd-core involved in parsing, when the documents carry a reference to an external XML schema. The gt-xsd-core Schemas class is not using the EntityResolver provided by the Pa

Why this priority

  • Critical severity
  • EPSS top 1%: very likely to be exploited
  • Public exploit reference
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.9 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance42.3% (top 1%)
CISA exploited listNo
WeaknessCWE-611, CWE-918
Published2025-06-10
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: geotools · osgeo

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

geotools geotools UPGRADE
Affected: < 28.6.1 · >= 29.0 and < 31.7 · >= 32.0 and < 32.3 · 33.0
Fixed in: 28.6.1, 31.7, 32.3
Safe to downgrade to: a release before 29.0
1. Check installed version
apt-cache policy geotools || rpm -q geotools || geotools --version
2. UPGRADE to 28.6.1 (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 29.0 (Debian / Ubuntu)
apt-cache madison geotools sudo apt install geotools=<VERSION_BEFORE_29.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_29.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.
osgeo geonetwork UPGRADE
Affected: >= 4.2.0 and < 4.2.13 · >= 4.4.0 and < 4.4.8
Fixed in: 4.2.13, 4.4.8
Safe to downgrade to: a release before 4.2.0
1. Check installed version
apt-cache policy geonetwork || rpm -q geonetwork || geonetwork --version
2. UPGRADE to 4.2.13 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade geonetwork
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade geonetwork
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 4.2.0 (Debian / Ubuntu)
apt-cache madison geonetwork sudo apt install geonetwork=<VERSION_BEFORE_4.2.0> sudo apt-mark hold geonetwork
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list geonetwork sudo dnf downgrade geonetwork-<VERSION_BEFORE_4.2.0> sudo dnf versionlock add geonetwork
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.
osgeo geoserver UPGRADE
Affected: < 2.25.7 · >= 2.26.0 and < 2.26.3 · 2.27.0
Fixed in: 2.25.7, 2.26.3
Safe to downgrade to: a release before 2.26.0
1. Check installed version
apt-cache policy geoserver || rpm -q geoserver || geoserver --version
2. UPGRADE to 2.25.7 (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.26.0 (Debian / Ubuntu)
apt-cache madison geoserver sudo apt install geoserver=<VERSION_BEFORE_2.26.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.26.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.

Exact fixes by distribution

Maven · org.geoserver.web:gs-web-app · FIXED · 2.27.1 · vulnerable: = 2.27.0 · source
Set org.geoserver.web:gs-web-app to 2.27.1 or later in pom.xml or build.gradle, then rebuild and redeploy.
Maven · org.geoserver:gs-wfs · FIXED · 2.27.1 · vulnerable: = 2.27.0 · source
Set org.geoserver:gs-wfs to 2.27.1 or later in pom.xml or build.gradle, then rebuild and redeploy.
Fedora ELN · fips-provider-next · FIXED · 1.5.3-3.eln159 · FEDORA-2026-3ce99ec7df · source
sudo dnf upgrade --advisory=FEDORA-2026-3ce99ec7df
Fedora 46 · rubygem-webmock · FIXED · 3.26.1-3.fc46 · FEDORA-2026-bb57b4d095 · source
sudo dnf upgrade --advisory=FEDORA-2026-bb57b4d095

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 · 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-2025-30220?

geotools: upgrade to 28.6.1, 31.7, 32.3; geonetwork: upgrade to 4.2.13, 4.4.8; geoserver: upgrade to 2.25.7, 2.26.3. Exact commands for each OS are on this page.

Is CVE-2025-30220 being exploited?

CVE-2025-30220 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2025-30220 affect?

CVE-2025-30220 affects geotools, geonetwork, geoserver. Severity is critical (CVSS 9.9). GeoServer is an open source server that allows users to share and edit geospatial data. GeoTools Schema class use of Eclipse XSD library to represent schema data structure is vulnerable to XML External Entity (XXE) exploit. This impacts who

How urgent is CVE-2025-30220?

Priority 69/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; 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.