← All articles

GeoServer's Five-Bug Chain: How an Anonymous HTTP Request Becomes Remote Code Execution

GeoServer, the open-source geospatial data server that powers map layers for government agencies, utilities, and research institutions worldwide, is under active attack. On November 25, 2026, security firm watchTowr confirmed it is observing live exploitation attempts against two recently disclosed vulnerabilities — CVE-2026-120705 and CVE-2026-129243 — that form part of a five-bug chain capable of taking an attacker from a single anonymous HTTP request all the way to remote code execution.

What Happened

On November 23, 2026, researchers published full technical details of a chain of five vulnerabilities in GeoServer, each individually rated "medium" or "high" in isolation, but together forming a complete pre-authentication attack path. Two days later, watchTowr's honeypot network picked up real-world scanning and exploitation attempts against the front two links in that chain, confirming the disclosure had — predictably — turned into a race between patching and attacker tooling.

Roughly 3,000 GeoServer instances are currently exposed to the internet according to exposure-scanning data cited by multiple research teams, making this a meaningful attack surface rather than a theoretical concern.

The Technical Details

The chain affects GeoServer versions up to and including 2.27.6, the 2.28.0–2.28.5 line, and 3.0.0–3.0.1, with an associated file-read issue also present in GeoTools up to 33.6, 34.0–34.5, and 35.0–35.1. Fixes landed on October 19, 2026 in GeoServer 2.27.7, 2.28.6, and 3.0.2, and in GeoTools 33.7, 34.6, and 35.2 — meaning patches have been publicly available for over a month before active exploitation began.

CVE-2026-129243 (CVSS 8.8, High) is the entry point. GeoServer's service-security rules are checked against the unresolved service name in a request. By prefixing a service call with something like x/WFS instead of the plain WFS, an attacker slips past the authorization check entirely while the request still dispatches to the real Web Feature Service. With GeoServer's default security rules in place, this lets a completely anonymous, unauthenticated user create and delete WFS stored queries — the foothold for everything that follows.

CVE-2026-120705 (CVSS 8.6, High) is the second link, and the one carrying the most immediate real-world risk. GeoServer's built-in GetFeatureById stored query substitutes a caller-supplied ID parameter directly into an XML template without escaping it, and then parses that XML without GeoServer's entity resolver protections in place. An attacker can inject an xi:include XML directive and achieve unauthenticated arbitrary file read, plus server-side request forgery (SSRF) against internal network targets — with the contents of the read file echoed straight back to the attacker inside an "Illegal property name" error message. Researchers demonstrated using this exact technique to read GeoServer's users.xml file, exposing usernames and password hashes, along with the server's security configuration.

CVE-2026-129245 (CVSS 9.2, Critical) is the chain's most dangerous component. GeoServer signs its "remember me" authentication cookie with a key that ships with a static default value of the literal string geoserver, which almost no deployment changes in practice. Combined with the file-read primitive from CVE-2026-120705 (used to confirm the key or extract other secrets), an attacker can forge a valid remember-me cookie and authenticate as an arbitrary user — including an administrator — without ever knowing a real password.

Two further issues round out the full chain: CVE-2026-129244 (Medium), a WFS stored-query exception message that leaks the server's data directory path, useful for targeting subsequent file operations; and CVE-2026-129242 (High, not yet formally scored at publication time), a deserialization flaw in GeoServer's JDBC user-and-role services that lets an already-authenticated administrator — including one who authenticated via the forged remember-me cookie — achieve full remote code execution.

Put together: unauthenticated service-rule bypass → unauthenticated arbitrary file read and SSRF → forged administrator session via a predictable signing key → deserialization-based RCE as that administrator. Zero credentials required at any stage.

Researchers have also demonstrated a separate three-bug variant chaining CVE-2026-120705, CVE-2026-129245, and CVE-2026-120704 (unauthenticated RCE via SQLite JDBC extension loading) to achieve code execution directly on both Linux and Windows hosts, without even touching the deserialization bug.

As of this writing, no public proof-of-concept exploit code has been released by either the original finders or watchTowr, and the chain is not yet listed in CISA's Known Exploited Vulnerabilities (KEV) catalog as of the November 24, 2026 edition. watchTowr's observed activity so far consists of probing and error-based confirmation attempts rather than confirmed, completed RCE in the wild — but that gap tends to close quickly once a chain this well documented is public.

Who Is Affected

Any organization running a self-hosted GeoServer instance in the vulnerable version ranges listed above is exposed, particularly if the instance is internet-facing and still using GeoServer's default security configuration, including the default remember-me signing key. This includes:

  • Government and municipal GIS / mapping portals
  • Utilities and infrastructure operators publishing geospatial layers
  • Universities and research institutions running public data portals
  • Any SaaS or internal platform that embeds GeoServer as a mapping backend

GeoFence and ACL-plugin deployments have their own related issues (CVE-2026-120707 and CVE-2026-120708) involving IP-rule bypass via spoofed X-Forwarded-For headers, which should be reviewed separately if those extensions are in use.

Remediation Steps

  1. Patch immediately. Upgrade to GeoServer 2.27.7, 2.28.6, or 3.0.2, and GeoTools 33.7, 34.6, or 35.2 as appropriate for your branch. This is the only complete fix — there is no reliable mitigation that closes every link in the chain without the patched code.
  2. Rotate the remember-me signing key. If you cannot patch immediately, change the default remember-me cookie signing key away from geoserver in security/config.xml. This alone breaks the most critical link in the chain (CVE-2026-129245).
  3. Restrict network exposure. Internet-facing GeoServer instances should sit behind a WAF or reverse proxy that can block anomalous service-name prefixes (e.g., x/WFS-style requests) and rate-limit stored query creation.
  4. Audit users.xml and credentials. If you suspect prior exposure, treat all local admin credentials and API keys as compromised, rotate them, and review GeoServer access logs for GetFeatureById requests containing xi:include or similarly suspicious XML payloads.
  5. Check X-Forwarded-For trust settings on any GeoFence or ACL plugin deployments, since those IP-based access rules can be bypassed by a spoofed header if the proxy chain isn't configured to strip client-supplied values.
  6. Monitor for indicators. Watch for unexpected WFS stored query creation/deletion by unauthenticated sessions, unusual outbound SSRF-style requests originating from the GeoServer host, and "Illegal property name" errors in logs, which can indicate active exploitation attempts of the XML injection flaw.

The Bigger Picture

This disclosure is a textbook example of why "medium severity" individual findings deserve the same scrutiny as critical ones during code review and bug bounty triage: none of these five bugs alone would have made most organizations' patch-today list, but chained together they produce a complete, unauthenticated path to remote code execution. Attackers increasingly specialize in exactly this kind of chain-building, and defenders who only track CVSS scores on a per-CVE basis will miss the combined risk.

If your organization runs GeoServer, or any complex application assembled from dozens of individually low-to-medium severity components, the GeoServer chain is a reminder that attack-path analysis — not just vulnerability scanning — is what catches these before attackers do.

---

SecurityInfinity's agentic AI pentesting platform continuously maps multi-step attack chains like this one across your exposed infrastructure, surfacing combinations of individually low-severity findings that add up to critical exposure — before an attacker finds the same path.

Find what attackers can see, before they do.

AI pentesting agents test your web app, API and cloud, and every finding comes with evidence and a fix. First report in about 10 minutes.

Stay ahead of attackers.

New vulnerabilities, breach write-ups and practical fixes. A few emails a month.