CVE-2026-120705
8.6HighPublished Nov 30, 2026 · NVD status: Undergoing Analysis · AI triage by gemini-3.1-flash-lite
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, and3.0.2 - org.geotools:gt-metadata versions prior to
33.7,34.6, and35.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
- https://github.com/geoserver/geoserver/pull/9928
- https://github.com/geoserver/geoserver/releases/tag/2.27.7
- https://github.com/geoserver/geoserver/releases/tag/2.28.6
- https://github.com/geoserver/geoserver/releases/tag/3.0.2
- https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47
- https://osgeo-org.atlassian.net/jira/browse/GEOS-12199
- https://osgeo-org.atlassian.net/jira/browse/GEOT-7938
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-120705
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1292438.8HighUnauthenticated attackers can create or delete WFS stored queries by bypassing security checks. This occurs because the dispatcher resolves service parameters differently than the security module.
- CVE-2026-1399907.5HighUnauthenticated attackers can extract database contents via time-based blind SQL injection. They only need network access to the GLPI web interface.
- CVE-2026-1399897.8HighAttackers can execute arbitrary code with the privileges of the process using the library. This requires a user to load a malicious Hugging Face model containing a crafted chat_template.
- CVE-2026-1398177.3HighRemote attackers can trigger an out-of-bounds write by manipulating the max_seqlen_k argument. This can lead to memory corruption or arbitrary code execution.
- CVE-2026-1371899.3CriticalUnauthenticated remote attackers can bypass access controls to modify Jupyter backend configurations or access health endpoints. This is possible because the server trusts the client-supplied Host header to verify request origin.
- CVE-2026-1371868.7HighAuthenticated attackers can execute arbitrary OS commands on the host. This occurs during the installation of a STDIO MCP server before sandboxing is applied.