What is CVE-2026-120705?
CVE-2026-120705 is a high-severity XML external entity vulnerability in Geoserver, published on 30 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-91
How severe is CVE-2026-120705?
CVE-2026-120705 scores 8.6 out of 10 under CVSS 3.1, which is high severity. It was scored by GitHub.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Which versions are affected by CVE-2026-120705?
It affects 2 products.
An affected version is exposed as installed. No special setting or call is needed.
Status by vendor 1
| Who | Release | Status | Packages |
|---|---|---|---|
| Upstream | fixed | osgeo:geoserver (2.27.7), osgeo:geotools (33.7) |
Products include Geoserver, Geotools.
CPE match criteria 6
| CPE 2.3 | Versions |
|---|---|
cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* | from 2.28.0, before 2.28.6 |
cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* | from 3.0.0, before 3.0.2 |
cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* | before 2.27.7 |
cpe:2.3:a:osgeo:geotools:*:*:*:*:*:*:*:* | from 34.0, before 34.6 |
cpe:2.3:a:osgeo:geotools:*:*:*:*:*:*:*:* | from 35.0, before 35.2 |
cpe:2.3:a:osgeo:geotools:*:*:*:*:*:*:*:* | before 33.7 |
How do I fix CVE-2026-120705?
No fix has been published for CVE-2026-120705 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 30 Nov 2026.
Upgrade, and turn off external entities and DTDs in the XML parser. More about XML external entity.
Is CVE-2026-120705 being exploited?
Yes. Attackers have exploited CVE-2026-120705 in the wild since at least 27 Nov 2026.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Geoserver
- CVE-2024-36401 OSGeo GeoServer GeoTools Eval Injection
- CVE-2026-129243 OSGeo GeoServer Incorrect Authorization
- CVE-2025-58360 OSGeo GeoServer Improper Restriction of XML External Entity Reference
- CVE-2025-30220 GeoTools, GeoServer, and GeoNetwork XML External Entity (XXE) Processing Vulnerability in XSD schema handling
- CVE-2023-35042 GeoServer RCE due to improper control of generation of code in jai-ext`Jiffle` map algebra language
Sources
Also known as GHSA-39mw-5chv-jh47.