CVE-2026-120705

8.6High

Published Nov 30, 2026 · NVD status: Undergoing Analysis · AI triage by gemini-3.1-flash-lite

8.6CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
High impact on confidentiality
Weakness
CWE-91

What an attacker gets

Unauthenticated attackers can perform XML external entity injection to read arbitrary files from the server. This is possible because the WFS 2.0 interface fails to properly sanitize user input before processing it.

Root cause

The WFS 2.0 GetFeature operation fails to escape user-supplied IDs in XML templates and processes them without an entity resolver.

Affected versions

  • org.geoserver:gs-wfs-core versions prior to 2.27.7, 2.28.6, and 3.0.2
  • org.geotools:gt-metadata versions prior to 33.7, 34.6, and 35.2

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Fix & remediation

Upgrade to GeoServer gs-wfs-core 2.27.7, 2.28.6, or 3.0.2 and GeoTools gt-metadata 33.7, 34.6, or 35.2. If you cannot patch immediately, disable the WFS 2.0 service.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD 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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-120705

More fully triaged vulnerabilities you may want to check next.