Skip to main content
Mallory
UnratedExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2026-120705: Unauthenticated XML Injection in GeoServer WFS GetFeatureById

Updated today
Trending this week#29of 434,997 vulnerabilities
Mention activity · 30 days70 mentions · peak 26 in a dayToday
CVSS-Not scored
EPSS-30-day exploit probability
CISA KEVYesAdded Nov 27, 2026
In the wildActivePer CISA KEV
IdentifiersCVE-2026-120705CWE-91

CVE-2026-120705 is an unauthenticated XML injection vulnerability in the built-in GetFeatureById stored query of GeoServer's Web Feature Service (WFS) 2.0 implementation. A user-supplied identifier is inserted into an XML query template without adequate escaping, allowing an attacker to inject additional XML elements, including XInclude elements. A single crafted WFS request can disclose local text files readable by the GeoServer process or trigger HTTP/HTTPS requests to attacker-selected destinations. Exploitation does not require creating a custom stored query. Affected GeoServer releases include versions before 2.27.7, 2.28.x before 2.28.6, and 3.0.x before 3.0.2. The vulnerability also affects GeoTools gt-metadata. Its reported CVSS score is 8.6.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises the confidentiality of local text files accessible to the GeoServer process, potentially exposing usernames, password digests, authentication-signing keys, and other security configuration or application secrets. File disclosure is constrained by filesystem permissions and XML/text-processing compatibility; arbitrary binary-file disclosure is not established. SSRF can make the server access attacker-selected HTTP/HTTPS destinations, potentially including internal services reachable from the deployment. When combined with CVE-2026-129245 and separate administrator-level code-execution vulnerabilities, disclosed authentication material can enable administrator impersonation and ultimately remote code execution. This vulnerability alone does not establish code execution. Active exploitation and vulnerability probing have been reported, but successful malicious execution of the complete code-execution chains has not been established.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is impossible, disable unnecessary WFS functionality or restrict WFS access to trusted clients at a reverse proxy or network boundary, preventing direct access to the back-end service. Restrict administrative interfaces to private management networks or VPN access. Run GeoServer with minimal operating-system privileges, isolate sensitive files and credentials from its service account, and limit outbound HTTP/HTTPS access. Blocking creation of new stored queries is insufficient because the vulnerable query is built in. Changing authentication-signing keys alone is also insufficient while file disclosure remains possible.

Remediation

Patch, then assume compromise.

Upgrade GeoServer to 3.0.2, 2.28.6, or 2.27.7, or a newer fixed release appropriate to the deployed branch. Prefer a supported branch because the 2.27 branch is no longer officially supported. Applications integrating affected GeoTools gt-metadata versions should upgrade to 33.7, 34.6, or 35.2, or newer fixed versions in the applicable branch. Verify that the running application uses the updated components and that older instances are no longer serving requests. Investigate potentially exposed deployments for compromise; patching does not revoke previously obtained attacker access. If credentials or security configuration may have been disclosed, rotate affected passwords, signing keys, and other secrets after closing the disclosure vulnerability.

Public exploits

Exploits

1 exploit validated by Mallory's analysis.

View more in app →
geoserver-unauth-rce-pocThis standalone repository contains an end-to-end remote command-execution exploit, not merely a vulnerability detector. Its eight files comprise a Python CLI client, two Java source files, two Markdown documents, an HSQLDB properties/script payload pair, and .gitignore. Four files contain executable or database code, counting payload.script as SQL. The Java payload constructor is a deserialization entry point; GeneratePayload.main is an offline build utility. The documented chain combines five vulnerabilities: an overlong WFS storedQuery_id leaks the data-directory path; service=x/WFS bypasses stored-query creation authorization; deferred XInclude in a stored query discloses security/config.xml and users.xml; the recovered remember-me key and administrator password digest enable authentication-cookie forgery; and an administrator-configured JDBC user service deserializes an attacker-controlled HSQLDB OTHER column. A PriorityQueue/BeanComparator/Spring proxy/TemplatesImpl gadget then loads the command-executing translet. The payload database includes a synthetic PWN user and a payload property. The Python client accepts a target URL and command, defaults to id, supports configurable timeouts and optional TLS verification bypass, disables environment-derived Requests configuration, and avoids automatic redirects. It obtains an administrator JSESSIONID, uploads the database and command request through REST, triggers the user-property lookup, retrieves output, and attempts cleanup. The translet binds the request to a randomized staging token, limits execution time and output size, and reports JDBC pool closure separately. Cleanup intentionally leaves staging files when safe database shutdown cannot be established. No fixed external exfiltration or callback destination is apparent; output is staged on the target and returned to the client. The repository claims affected releases through 2.27.6, 2.28.0–2.28.5, and 3.0.0–3.0.1, with fixes in 2.27.7, 2.28.6, and 3.0.2. It documents a successful run against the official GeoServer 3.0.0 container, but that demonstration and the CVE/advisory claims were not independently verified. The supplied Python, translet, and serialized payload contents are truncated, preventing a complete audit of request paths, authentication details, cleanup safeguards, and embedded-bytecode equivalence. The visible implementation is consistent with the claimed exploit and shows no obvious fake-exploit behavior. No original repository URL, git reference, archive path, or archive byte size was supplied; empty metadata and size 0 represent unavailable values.Crypto-Cat · Disclosed Nov 23, 2026 · python · java · webOperational
FAQ

Frequently asked questions

Is CVE-2026-120705 exploited in the wild?
Yes. As of Nov 28, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 27, 2026.
Is there a public exploit for CVE-2026-120705?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-120705, the earliest disclosed Nov 23, 2026.
Is there a patch for CVE-2026-120705?
Upgrade GeoServer to 3.0.2, 2.28.6, or 2.27.7, or a newer fixed release appropriate to the deployed branch. Prefer a supported branch because the 2.27 branch is no longer officially supported.
Activity feed

Recent activity

74 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
cameroon cirtNews · Nov 28, 2026[CRITIQUE] 3 failles déjà exploitées : GeoServer et Drupal en première ligne - CIRTAn unspecified GeoServer vulnerability that the article reports as actively exploited and listed in CISA KEV. A vendor patch is available; no technical vulnerability details are provided.Read more ↗linuxsecurityNews · Nov 27, 2026GeoServer Flaws Draw Attack Probes Against Unpatched ServersAn XML injection vulnerability in a default GeoServer Web Feature Service query permits unauthenticated reading of text files accessible to the GeoServer process and server-side request forgery. Exploitation does not require a custom query or permission to create queries, so blocking query creation alone is insufficient. Attackers are actively probing the flaw; researchers demonstrated an exploitation route, but successful in-the-wild remote code execution is not confirmed. GeoServer 3.0.2, 2.28.6 and 2.27.7 contain fixes. Limiting or disabling WFS and restricting unnecessary external access provide temporary exposure reduction, not a replacement for patching.Read more ↗sh3llc0d3 blogNews · Nov 25, 2026GeoServer 5-Stage RCE Chain CVE-2026-120705 | ShellcodeA GeoServer unauthenticated local-file-read vulnerability rated CVSS 8.6, involving XML/XInclude processing in the WFS GetFeatureById stored query. It can expose configuration files and password digests or permit server-side requests. Combined with the default remember-me signing key, harvested digests enable administrator-session forgery without password cracking. The content reports active probes and exploitation verification. Fixed releases are 3.0.2, 2.28.6, and 2.27.7; secret rotation alone does not fix this vulnerability.Read more ↗security weekNews · Nov 25, 2026Two Newly Disclosed GeoServer Vulnerabilities Under Attack - SecurityWeekA high-severity XML injection vulnerability in GeoServer permitting unauthenticated sensitive-file access or SSRF. It participates in demonstrated unauthenticated RCE chains. Attackers are sending exploit probes to identify vulnerable instances; successful attacker RCE has not been reported.Read more ↗
+9 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity58Community discussion across Reddit, Mastodon, and other social sources.