🔴 CVE-2026-120705

CVE-2026-120705 is an unauthenticated XML injection vulnerability in GeoServer's WFS 2.0 GetFeatureById stored query endpoint, where unsanitized user-supplied ID parameters are substituted into an XML template and parsed without entity resolution protections. An attacker can inject xi:include directives to perform arbitrary local file reads and SSRF via a single crafted HTTP request with no authentication required. The vulnerability is confirmed as actively exploited in the wild, listed in CISA KEV, and can serve as the first link in an unauthenticated RCE chain.

← Back to Overview
HIGH_RISK
Risk Level
8.6
CVSS Score
NETWORK
Attack Vector
Initial Access
ATT&CK Tactic
T1190 — Exploit Public-Facing Application
ATT&CK Technique
HIGH
Deployment Risk
No
Ransomware

📋 Vulnerability Details

Data Source: CIRCL

Confidence: HIGH

Exploitation Method: DIRECT_NETWORK

CVE Published: 2026-11-30

Added to CISA KEV: 2026-11-27 0 DAY BETWEEN CVE AND KEV

🎯 Recommendations:

🔍 Web Intelligence (Kagi · 2026-11-30)

Summary

CVE-2026-120705 is an XML injection vulnerability in OSGeo GeoServer that enables unauthenticated arbitrary file reads and HTTP(S) URL fetching [2][5]. The vulnerability exists because the WFS 2.0 stored query `GetFeatureById` improperly processes user-supplied ID parameters within an XML template without sufficient escaping or entity resolution, allowing attackers to inject XML, including `xi:include` directives [2]. This vulnerability is critical because it can be used as a component in larger attack chains, including unauthenticated Remote Code Execution (RCE) [1][4].

Exploitation

  • Active Exploitation: The vulnerability is actively exploited in the wild and was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on November 27, 2026 [1][6].
  • Threat Actors: While specific named groups have not been widely publicized, its inclusion in the KEV catalog indicates widespread interest by threat actors, specifically for exfiltrating sensitive data like `users.xml` [1].
  • Availability: Proof-of-concept templates and scanning tools (e.g., Nuclei) are publicly available to identify and exploit this flaw [4].
  • Prerequisites: Exploitation is network-based, requires no authentication, and involves sending a single specially crafted WFS request to the vulnerable service [3][5]. No user interaction is required [2].

Affected Products & Patches

  • Affected Versions:
* `org.geoserver:gs-wfs-core` versions prior to 2.27.7, 2.28.6, and 3.0.2 [2]. * `org.geotools:gt-metadata` versions prior to 33.7, 34.6, and 35.2 [2].
  • Patch Availability: Patches have been released in the versions mentioned above. Administrators are advised to update to these secure versions immediately [1][2].
  • Mitigations: If patching is not immediately feasible, restrict access to the WFS endpoint and GeoServer management interface using network-level controls (e.g., firewalling or WAF rules) to prevent unauthorized access.

Impact

  • Successful Exploitation: Allows unauthorized parties to read arbitrary files from the local filesystem that the GeoServer process has permission to access, and enables Server-Side Request Forgery (SSRF) via arbitrary URL fetching [3][5].
  • Business Risk: For internet-facing deployments, this vulnerability presents a high risk as it can be used to exfiltrate sensitive configuration files (e.g., credentials and user account information) and serve as a vector for further exploitation, such as full Remote Code Execution, potentially leading to a complete compromise of the underlying server infrastructure [1].

Sources

  1. Hackers Exploit Two GeoServer Flaws as Researchers Warn of Unauthenticated RCE Chains

    ### CISA Confirms ... The U.S. Cybersecurity and Infrastructure Security Agency (CISA), on November 27, 2026, confirmed active exploitation of CVE-2026-120705 and CVE-2026-129243 by placing both the flaws in the Known Exploited Vulnerabilities (KEV) catalog. Federal Civilian Executive Branch (FCEB…

  2. CVE-2026-120705 - Vulnerability Details - OpenCVE

    # CVE-2026-120705 GeoServer: Unauthenticated WFS GetFeatureById XML injection Published Nov 30, 2026 CVSS 3.1 · 8.6 High EPSS n/a KEV · Listed 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…

  3. GeoServer Unauthenticated RCE Chain (CVE-2026-120705, CVE-2026-129243)

    CVE-2026-120705 is an arbitrary file read. A single unauthenticated Web Feature Service (WFS) request can read local text files that the ...

  4. Added GeoServer Unauthenticated WFS GetFeatureById XML Injection SSRF (CVE-2026-120705) Template

    **Affected:** GeoServer `<= 2.27.6`, `2.28.0-2.28.5`, `3.0.0-3.0.1`; GeoTools `<= 33.6`, `34.0-34.5`, `35.0-35.1`. Fixed in GeoServer `2.27.7`/`2.28.6`/`3.0.2` and GeoTools `33.7`/`34.6`/`35.2`. ... This is also step 3 of a larger unauthenticated-RCE…

  5. CVE-2026-120705, CVE-2026-129243 - GeoServer unauthenticated WFS file read/URL fetch and OWS auth bypass

    CVE-2026-120705 is an arbitrary file read/HTTP(S) URL fetch via a single unauthenticated WFS request in org.geoserver:gs-wfs-core/org.geotools: ...