Skip to main content
Varaxon Technologies

Known exploited vulnerability · CISA KEV

CVE-2026-120705: OSGeo GeoServer XML Injection Vulnerability

OsGeo GeoServer contains an XML injection vulnerability that allows an unauthenticated remote attacker to cause the server to read local text files accessible to the GeoServer process or fetch attacker-specified HTTP or HTTPS URLs via a crafted ID parameter in the WFS 2.0 GetFeatureById stored query. This vulnerability can be chained with CVE-2026-129244, CVE-2026-129243, CVE-2026-129245, and CVE-2026-129242 to achieve unauthenticated remote code execution on an affected GeoServer instance.

CVE-2026-120705

Exploited in the wild. Fix this first.

CISA added it to the Known Exploited Vulnerabilities catalog on 2026-11-27 based on evidence of exploitation.

CISA KEV
Listed
Added 2026-11-27 · federal fix-by 2026-11-30 · edition 2026.12.04
EPSS (30 days)
23%
Higher than 98% of CVEs · 2026-12-04Up 1.5% in 3 days
CVSS v3.1
8.6 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

What CISA says

OSGeo GeoServer XML Injection Vulnerability

Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.

NVD description · published 2026-11-30

GeoServer is an open source server that allows users to share and edit geospatial data. Prior to "org.geoserver:gs-wfs-core" versions 2.27.7, 2.28.6, and 3.0.2 and prior to "org.geotools:gt-metadata" versions 33.7, 34.6, and 35.2, GeoServer exposes the built-in WFS 2.0 stored query urn:ogc:def:query:OGC-WFS::GetFeatureById through the public GetFeature operation. The stored query substituted the caller's ID parameter into an XML template without escaping, then parsed the result without GeoServer's entity resolver. An unauthenticated caller could inject XML, including an xi:include, into the query. This issue has been patched in "org.geoserver:gs-wfs-core" versions 2.27.7, 2.28.6, and 3.0.2 and "org.geotools:gt-metadata" versions 33.7, 34.6, and 35.2.

Full record on NVD

Got a whole scan? Scan Hub runs this check on every finding in your Nessus, Qualys, Rapid7 or OpenVAS export and ranks the report by it.

Try it free

CVE-2026-120705 in plain words

Written by Varaxon from the sources below. Last checked .

What an attacker can do
GeoServer, the open-source map and geodata server, offers a built-in WFS 2.0 stored query called GetFeatureById. It pasted the caller's ID value into an XML template without escaping, so one unauthenticated request can inject XML that makes the server read a local text file or fetch an attacker-chosen URL, and the text can come back in the error message. GeoServer lists it as one step in a chain to remote code execution.
Who is affected
GeoServer 2.27.6 and earlier, 2.28.0 to 2.28.5, and 3.0.0 to 3.0.1, per advisory GHSA-39mw-5chv-jh47. The matching GeoTools library (gt-metadata) is affected before 33.7, 34.6 and 35.2. File contents are echoed back when a layer is published to anonymous users; otherwise the file is still read but not returned.
What to do first
Update to GeoServer 3.0.2, 2.28.6 or 2.27.7, which bundle the fixed GeoTools. Until then, the project advises restricting or disabling WFS for anonymous users with service security, or turning WFS off if you do not need it. Also patch CVE-2026-129243 and the rest of the chain at the same time. CISA asks US federal agencies to act by 2026-11-30.

How to check if you are exposed to CVE-2026-120705

  1. Find every OSGeo GeoServer system you or your clients run, including ones exposed to the internet. Those come first: CISA only lists flaws attackers are already using.
  2. Compare each version with the fixed versions in the vendor advisory below. Where no fix exists yet, apply the vendor’s mitigation or take the system off the internet.
  3. Run a credentialed vulnerability scan to catch the systems you missed, then check that the next scan no longer reports CVE-2026-120705.

US federal agencies had to fix this by 2026-11-30. Everyone else should treat that deadline as a guide: if it has passed, this is overdue.

Affected versions

Versions the National Vulnerability Database lists as vulnerable to CVE-2026-120705. Check the vendor advisory for the exact fixed builds before you sign anything off.

ProductVulnerable versions
OSGeo Geoserverbefore 2.27.7; from 2.28.0 before 2.28.6; from 3.0.0 before 3.0.2
OSGeo Geotoolsbefore 33.7; from 34.0 before 34.6; from 35.0 before 35.2

Timeline

  1. · Published in the National Vulnerability Database
  2. · Added to CISA's Known Exploited Vulnerabilities catalog, before NVD published it: exploitation came first
  3. · Fix-by date for US federal agencies, passed 6 days ago

Vendor advisories and fixes

Weakness type

More exploited OSGeo vulnerabilities

CISA lists 5 exploited OSGeo vulnerabilities. The closest matches:

Keep going

Sources: CISA Known Exploited Vulnerabilities catalog (version 2026.12.04); EPSS data from FIRST.org; CVSS and descriptions from the NIST National Vulnerability Database. Checked 2026-12-06. This product uses the NVD API but is not endorsed or certified by the NVD.

Cookie preferences

Essential site functions remain available whichever option you choose. Your advertising choice is saved on this site. The Scan Hub has a separate choice.

Google and Reddit may receive cookies, identifiers, browser and device information, and your network/IP information. Reject or withdraw at any time. Read the Privacy Policy.