CVE-2026-120705 OSGeo GeoServer XML Injection

Published Updated

Unauthenticated attackers can inject XML into GeoServer's WFS GetFeatureById query to read files or make requests; GeoServer operators should care.

CVSS score

High

8.6/10

CVSS 3.1 · Scored by GitHub Breakdown
Exploited in the wild
Yes
Since 27 Nov 2026
Exploit code
Proof of concept
1 on GitHub, unverified
Fix
None listed
No fixed version published
Attack path
Over the internet
No login, no user action

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
WhoReleaseStatusPackages
Upstreamfixedosgeo:geoserver (2.27.7), osgeo:geotools (33.7)

Products include Geoserver, Geotools.

CPE match criteria 6
CPE 2.3Versions
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.

All Geoserver vulnerabilities

Sources

Also known as GHSA-39mw-5chv-jh47.

Is CVE-2026-120705 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free