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#33of 434,981 vulnerabilities
Mention activity · 30 days64 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 XML injection vulnerability in GeoServer's built-in Web Feature Service (WFS) 2.0 GetFeatureById stored query. An attacker-controlled identifier is inserted into an XML query template without adequate escaping, allowing injection of additional XML elements, including XInclude elements. A single unauthenticated WFS request can disclose local text files readable by the GeoServer process or trigger server-side HTTP or HTTPS requests to attacker-selected destinations. 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 versions before 33.7, 34.x before 34.6, and 35.x before 35.2.

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 service account, potentially exposing usernames, password digests, signing keys, and other sensitive configuration. File disclosure is constrained by XML-processing compatibility and does not imply unrestricted binary-file access. The SSRF capability allows attacker-directed HTTP and HTTPS requests from the server, potentially reaching services unavailable directly to the attacker. Disclosed authentication material can support administrator-session forgery when combined with CVE-2026-129245; additional administrator-level vulnerabilities, including CVE-2026-120704, can extend the chain to remote code execution. This vulnerability alone does not establish administrator access or code execution. Active exploitation has been reported.

Mitigation

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

Until updates can be applied, disable WFS where operationally feasible or restrict access to trusted clients through network controls or a reverse proxy, ensuring back-end endpoints cannot be reached directly. Restrict administration interfaces to trusted management networks. Run GeoServer with minimal operating-system privileges and isolate its service account from unrelated sensitive files and credentials. Restrict unnecessary outbound HTTP and HTTPS connectivity to reduce SSRF exposure. Blocking creation of custom stored queries is insufficient because the vulnerable query is built in. These controls reduce exposure but do not replace patching.

Remediation

Patch, then assume compromise.

Upgrade GeoServer to version 2.27.7, 2.28.6, 3.0.2, or a newer fixed release, preferably on a supported branch. Applications independently integrating GeoTools gt-metadata should upgrade to 33.7, 34.6, 35.2, or a newer fixed release appropriate to their branch. Verify that every running instance, including staging and legacy deployments, uses the updated components. Investigate previously exposed systems for unauthorized access and configuration changes; patching does not remove established attacker access. If sensitive authentication material may have been disclosed, rotate affected passwords, signing keys, and other secrets after closing the file-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 version 2.27.7, 2.28.6, 3.0.2, or a newer fixed release, preferably on a supported branch. Applications independently integrating GeoTools gt-metadata should upgrade to 33.7, 34.6, 35.2, or a newer fixed release appropriate to their branch.
Activity feed

Recent activity

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

View more in app →
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 ↗ca ccsNews · Nov 25, 2026GeoServer security advisory (AV26-1207) - Canadian Centre for Cyber SecurityA GeoServer vulnerability reportedly being exploited in the wild. The advisory lists affected versions prior to 2.27.7, 2.28.6, and 3.0.2 but does not describe the vulnerability's technical cause or impact.Read more ↗
+8 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 activity53Community discussion across Reddit, Mastodon, and other social sources.