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
- 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.
- 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.
- 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.
| Product | Vulnerable versions |
|---|---|
| OSGeo Geoserver | before 2.27.7; from 2.28.0 before 2.28.6; from 3.0.0 before 3.0.2 |
| OSGeo Geotools | before 33.7; from 34.0 before 34.6; from 35.0 before 35.2 |
Timeline
- · Published in the National Vulnerability Database
- · Added to CISA's Known Exploited Vulnerabilities catalog, before NVD published it: exploitation came first
- · 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:
- CVE-2026-129243OSGeo GeoServer Incorrect Authorization VulnerabilityAdded 2026-11-27
- CVE-2025-58360OSGeo GeoServer Improper Restriction of XML External Entity Reference VulnerabilityAdded 2025-12-11
- CVE-2024-36401OSGeo GeoServer GeoTools Eval Injection VulnerabilityAdded 2024-07-15
- CVE-2022-24816OSGeo GeoServer JAI-EXT Code Injection VulnerabilityAdded 2024-06-26
Keep going
- Exploited this month
- All exploited CVEs
- Check another CVE
- What is CISA KEV?
- What is EPSS?
- CISA KEV report, November 2026
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.
