GeoServer RCE Exploit Chain: Five CVEs, One Unauthenticated Takeover

November 30, 2026
Profile Icon

Jason Franscisco

On November 23, 2026, the GeoServer project published advisories for five flaws that chain into unauthenticated remote code execution (RCE). Two days later, watchTowr's honeypots recorded attackers probing for them, and CISA added two of the CVEs to its Known Exploited Vulnerabilities (KEV) catalog on November 27. CSO Online reports more than 3,000 GeoServer instances exposed to the internet.

  • Affected: GeoServer 3.0.0 to 3.0.1, 2.28.0 to 2.28.5, and 2.27.6 and earlier.
  • Fixed in: 3.0.2, 2.28.6 and 2.27.7.
  • Severity: The reporter scored the full chain 9.8. Individual flaws range from 6.9 to 9.2.
  • Discovery: Jonah Burgess (Rapid7, "CryptoCat") reported the chain in August. Eye Security independently found a shorter variant, using AI models to hunt the bugs.
  • Impact: Code execution as the GeoServer process user (root in the official 3.0.0 container, per the reporter's testing), theft of data directory secrets, and a foothold for lateral movement.

GeoServer is a repeat target. CVE-2024-36401 (9.8) fed botnets and cryptominers, CVE-2025-58360 reached KEV in December 2025, and an August 2026 SQL injection zero-day drew probes within hours of disclosure.

From report to active exploitation

How the GeoServer Exploit Chain Works, Step by Step

No single bug here is the whole story. Each step hands the next one exactly what it needs, and the first four need no credentials.

The five-step GeoServer chain
Step CVE CVSS What it gives the attacker
1 CVE-2026-129244 6.9 An oversized storedQuery_id triggers a filename error that leaks the data directory path.
2 CVE-2026-129243 8.8 A prefixed service name such as x/WFS skips the role check, so anonymous users can create and delete stored queries.
3 CVE-2026-120705 8.6 A stored query with XInclude reads security/config.xml and users.xml.
4 CVE-2026-129245 9.2 The default signing key geoserver plus the admin password digest forges an administrator cookie.
5 CVE-2026-129242 8.6 An admin registers a JDBC user service on an uploaded HSQLDB file, and deserialization runs code.

Step 2 is the hinge. The dispatcher strips a prefix such as x/ to find the service, but the security callback compares the original string against rules written for wfs. No rule matches, so the role check is skipped. The shipped rules only protect CreateStoredQuery and DropStoredQuery, and that is enough for anonymous users to plant and remove stored queries.

Step 3 is the pivot. Escaped XInclude markup submitted as query text is decoded, saved, then parsed again as live XML. When the query reloads, the parser resolves file: references and DescribeStoredQueries returns the contents. The same flaw can also fetch attacker-chosen HTTP or HTTPS URLs, which opens a server-side request path to internal services.

Steps 4 and 5 finish the job. The remember-me signature covers the username, expiry, password digest and key. With the default key and the leaked digest, an attacker computes a valid cookie for admin@default and trades it for an admin session. A REST PUT then drops an HSQLDB file into the data directory, a POST registers a JDBC user service pointing at it, and the next user lookup deserializes attacker bytes with no class filter. The chain assumes the default admin account is enabled and the remember-me filter is active. Eye Security's shorter route skips deserialization and abuses CVE-2026-120704 (7.2) to load an uploaded native library on Linux or Windows.

What the probes show. watchTowr saw multiple IPs create a stored query, confirm it exists, and delete it straight away, with no payload. That is consistent with reconnaissance: it proves steps 2 and 3 work on a target while leaving little behind.

Why This Chain Slips Past CVSS-Based Prioritization

At Loginsoft, we analyze CVEs as attack paths, not isolated scores. Four observations stand out.

  • Scores understate the chain. The lowest link scores 6.9 and the highest 9.2, yet together they give anonymous code execution. A "critical only" filter would rank the path disclosure last, even though step 5 cannot start without it. Check your feed too: some coverage labels CVE-2026-120705 critical, but the advisory rates it 8.6 High. Only CVE-2026-129245 is rated Critical.
  • KEV covers only part of the path. CISA listed CVE-2026-120705 and CVE-2026-129243. A KEV-only filter misses CVE-2026-129245 and CVE-2026-129242, which turn file read into takeover.
  • The patch-diff window is the real deadline. Fixes shipped in October and early November, but advisories landed on November 23. Eye Security warned that a capable attacker with good models could rediscover the bugs from the patch itself. Assume exploit development starts at patch release, not at the advisory.
  • GeoServer is a standing high-risk asset. CISA has flagged GeoServer flaws repeatedly, including CVE-2022-24816, CVE-2024-36401 and CVE-2025-58360. Give internet-facing GeoServer its own patch SLA.

No hashes, domains or fixed IPs have been published. Until they are, behavior-based log hunting is the only reliable signal.

See which GeoServer CVEs are exploited right now

Check exploit status, KEV mapping and risk scores for all five CVEs in LOVI.

Explore LOVI

Fixing GeoServer: Patch, Rotate, Then Hunt

  1. Find every instance. Include GeoServer bundled in GIS stacks, containers and images, and compare versions against the affected ranges.
  2. Upgrade to 3.0.2, 2.28.6 or 2.27.7. The upgrade generates a new signing key and invalidates existing remember-me sessions. In clusters, set the same GEOSERVER_REMEMBERME_KEY on every node.
  3. Assume disclosure on exposed hosts. Change administrator passwords and treat password digests as compromised. Rotating the signing key alone does not help if the same file read leaks it.
  4. If you cannot patch today, block service values containing a slash at your reverse proxy or WAF, remove rememberme from the web filter chain (Security > Authentication), and restrict WFS and REST access to trusted networks.
  5. Cut the blast radius. Run GeoServer as a non-root user, segment it from internal networks, restrict outbound traffic, and rotate datastore credentials stored in the data directory.

Hunt for these signals:

  • WFS errors with filesystem exception text, or storedQuery_id values thousands of characters long
  • service=x/WFS (or any slash prefix) followed by anonymous CreateStoredQuery or DropStoredQuery calls
  • Unexpected files in wfs/query or workspaces/*/wfs/query, especially definitions containing xi:include or file:
  • DescribeStoredQueries responses containing key material or users.xml content
  • Remember-me cookies for admin@default from unfamiliar IPs, followed by admin REST calls
  • REST PUT writes to the data directory, new JDBC user-group service registrations, or uploaded HSQLDB files

How Loginsoft Helps You Close the GeoServer Gap

At Loginsoft, we have analyzed 20,000+ CVEs and discovered 1,000+ zero-days. The lesson from chains like this one is that context beats scores. Here is how we help security teams act on it.

  • LOVI (Loginsoft Vulnerability Intelligence): pre-NVD CVE enrichment, exploit status, CISA KEV and EPSS mapping, MITRE ATT&CK context and AI risk scoring for each of the five CVEs, so the chain is prioritized on evidence rather than the lowest score. It plugs into your existing tools through 200+ platform integrations.
  • Cytellite: real-time threat intelligence search across IPs, domains, CVEs and threat actors, so you can pivot from a suspicious IP in your GeoServer logs to what is known about it.
  • Vulnerability research team: we can validate whether your GeoServer deployments are reachable through the chain and turn the hunting signals above into detections for your SIEM.

Need a second pair of eyes on GeoServer?

Talk to our vulnerability research team about your exposure.

Talk to our experts

GeoServer RCE: Frequently Asked Questions

Q1. What is the GeoServer RCE exploit chain?

It is a chain of five GeoServer flaws (CVE-2026-129244, CVE-2026-129243, CVE-2026-120705, CVE-2026-129245 and CVE-2026-129242) that lets an unauthenticated attacker leak secrets, forge an administrator session and execute code on the server. The reporter scored the full chain 9.8.

Q2. Which GeoServer versions are vulnerable to CVE-2026-120705 and the rest of the chain?

GeoServer 3.0.0 to 3.0.1, 2.28.0 to 2.28.5 and 2.27.6 and earlier are affected. Upgrade to 3.0.2, 2.28.6 or 2.27.7.

Q3. Is the GeoServer vulnerability being exploited in the wild?

Yes. watchTowr observed probing on November 25, 2026, and CISA added CVE-2026-120705 and CVE-2026-129243 to its KEV catalog on November 27. Publicly reported activity so far is reconnaissance rather than confirmed payload delivery.

Q4. How do I know if my GeoServer was compromised?

Check logs for slash-prefixed service values such as x/WFS, anonymous stored query creation, unexpected files in wfs/query and admin remember-me cookies from unknown IPs. Also look for new JDBC user-group services and uploaded HSQLDB files. If any appear, rotate credentials and rebuild the host.

Q5. How do I mitigate GeoServer if I can't patch right now?

Block service values containing a slash, remove the remember-me filter from the web filter chain, restrict access to WFS and REST endpoints, and audit wfs/query for stored queries nobody created. Treat these as stopgaps until you upgrade.