GeoServer CVE-2026-129243: One Slash, No Auth Check

By 11 min read
GeoServer CVE-2026-129243 and CVE-2026-120705, two exploited steps of a five-bug remote code execution chain

A single slash in a URL parameter was enough to make GeoServer skip its own permission check. On 27 November 2026 CISA confirmed that attackers are using that bug, GeoServer CVE-2026-129243, along with a WFS XML injection, CVE-2026-120705.

In short: both flaws are exploited in the wild, both are fixed in GeoServer 3.0.2, 2.28.6 and 2.27.7, and the project’s own advisories describe them as steps 2 and 3 of a five-bug chain that ends in unauthenticated remote code execution. If you run a GeoServer instance reachable from the internet and have not upgraded since October, treat it as exposed.

What is GeoServer CVE-2026-129243?

GeoServer CVE-2026-129243 is an incorrect authorization flaw (CWE-863) that lets an unauthenticated user bypass service-level security rules. The GeoServer advisory, GHSA-rv5g-g2r9-58rj, rates it High with a CVSS score of 8.8.

GeoServer is an open-source Java server that publishes maps and geographic data over standard web protocols. Its GitHub repository had 4,508 stars and 2,344 forks when this article was written, and it sits behind many government, utility and research mapping portals.

What went wrong

GeoServer has a feature called service security: rules that restrict an operation, such as creating a WFS stored query, to a given role. WFS (Web Feature Service) is the protocol GeoServer uses to serve the underlying vector data, not just rendered map images.

The bug is a mismatch between two pieces of code. According to the advisory, the request dispatcher strips everything up to a / in the service parameter to pick the service, so x/WFS runs WFS. The security check, however, matched its rules against the raw value x/WFS. No rule matched, so the operation ran with no role check at all.

With default rules, that means an anonymous user can create and delete WFS stored queries, which are normally limited to administrators. Any installation that protects other operations, for example WFS Transaction, only through service security loses that protection too. Layer and data security rules still apply.

What is CVE-2026-120705?

CVE-2026-120705 is an unauthenticated XML injection in GeoServer’s built-in WFS 2.0 stored query GetFeatureById. The advisory, GHSA-39mw-5chv-jh47, rates it High at 8.6, and CISA’s catalog maps it to CWE-91 (XML injection), CWE-611 (XML external entity reference) and CWE-918 (server-side request forgery).

A stored query is a saved, named query template that clients call with parameters instead of writing the full query themselves. GeoServer ships GetFeatureById as a public one.

How the injection works, conceptually

The advisory explains that GeoServer inserted the caller’s ID value into an XML template with plain string replacement, with no escaping. It then parsed the result without the entity resolver GeoServer uses elsewhere. Quotes and angle brackets in the ID could therefore close the attribute and add new XML, including an XInclude directive, which tells a parser to pull in content from another file or URL.

The result, per the advisory, is that one unauthenticated WFS request can:

  • read a local text file the GeoServer process can access;
  • fetch an attacker-chosen HTTP or HTTPS URL from the server (SSRF, server-side request forgery);
  • get the fetched text back inside an “Illegal property name” error.

The content is echoed back when a layer is published to anonymous users. Otherwise the file is still read but not returned. The fix also landed in GeoTools, the library underneath GeoServer, in versions 33.7, 34.6 and 35.2.

How does the five-step GeoServer RCE chain work?

The GeoServer project says these two bugs were reported as part of a single chain leading to unauthenticated remote code execution. At the request of the CVE Numbering Authority, each step received its own CVE and its own advisory. The table below summarises what each advisory says the step gives an attacker.

Step CVE What it gives the attacker Severity (CVSS) Exploited per CISA
1 CVE-2026-129244 Absolute data directory path, via an exception on an overlong stored query ID Medium (6.9) Not listed
2 CVE-2026-129243 Anonymous access to operations protected only by service security High (8.8) Yes
3 CVE-2026-120705 Unauthenticated local file read and SSRF High (8.6) Yes
4 CVE-2026-129245 Forged administrator session from the remember-me key and a password digest Critical (9.2) Not listed
5 CVE-2026-129242 Code execution as the GeoServer process via Java deserialization High (8.6) Not listed
Five-step GeoServer chain from data directory path leak to deserialization remote code execution.
Each link in the chain is a separate CVE; CISA has confirmed exploitation of steps 2 and 3. Data: GeoServer security advisories.

Why a file read becomes an admin login

Step 4 is the pivot. GeoServer’s remember-me cookie is signed with a key plus the user name, expiry and stored password digest, not the password itself. The advisory says the release data directory ships with the key set to geoserver, which most installations never change.

So anyone who can read the admin password digest, for example through the file read in step 3 with the path from step 1, can mint a cookie that GeoServer accepts as an administrator login. Changing the key does not help if the same file disclosure also exposes the key.

From admin to code execution

Step 5 needs administrator rights, which step 4 supplies. According to its advisory, the JDBC user and role services read property values in a way that deserializes Java objects stored in an HSQLDB database. Deserialization means turning stored bytes back into live program objects; done without restrictions, it can run attacker-supplied code.

The advisory notes that the JDBC security module and the HSQLDB driver ship in the standard distribution, and the REST API lets an administrator upload a database file and create a service that uses it. The code then runs with the operating system privileges of the GeoServer process.

When was it disclosed, and why does the timing matter?

GeoServer follows coordinated disclosure: it ships fixes first and publishes details later, to give users time to upgrade. That worked here only for those who upgraded without knowing why.

Timeline from GeoServer's October fixed releases to the CISA KEV federal patch deadline.
Fixes shipped in October; CISA confirmed exploitation four days after the advisories went public. Data: GeoServer, Canadian Centre for Cyber Security, CISA.
  • October 2026: GeoServer 3.0.2, 2.28.6 and 2.27.7 ship with the fixes, described by the project as “the October releases”.
  • 23 November: The project publishes its “GeoServer Security Update - November 2026” post and the GitHub advisories, now with CVE numbers.
  • 25 November: The Canadian Centre for Cyber Security issues advisory AV26-1207, saying open source reporting indicates both CVEs are being exploited in the wild.
  • 27 November: CISA adds both to the KEV catalog, citing evidence of active exploitation, alongside Drupal CVE-2026-136716.
  • 30 November: Due date for US federal civilian agencies, three days after the addition.

Once advisories describe a bug this precisely, the gap between publication and attack is short. The same pattern showed up with Drupal Fail2Install, whose follow-up CVE landed in this very KEV batch.

Who is affected and how do you check your exposure?

According to the advisories, affected versions are:

Branch Vulnerable Fixed
3.0.x 3.0.0 to 3.0.1 3.0.2
2.28.x 2.28.0 to 2.28.5 2.28.6
2.27.x and older 2.27.6 and earlier 2.27.7

To check your exposure:

  1. Find every GeoServer instance, including ones embedded in other products or container images. Check the version on the server status page or in the deployed gs-ows and gs-wfs-core JAR names.
  2. Decide whether WFS is reachable by anonymous users. Step 3 works without any login when WFS is open.
  3. Check whether the remember-me filter is still in the web filter chain and whether security/config.xml still holds the shipped key.
  4. Check who can reach /rest/resource and /rest/security. Step 5 depends on those administrator endpoints.
Bar chart of CVSS scores for the five GeoServer chain CVEs, highest 9.2 for cookie forgery.
No single step scores above 9.2, but together they reach code execution without a password. Data: GeoServer GitHub advisories.

How do you detect exploitation of the GeoServer KEV bugs?

Neither CISA, the Cyber Centre nor the GeoServer project has published indicators of compromise or ATT&CK mappings for this activity. The signals below come from how the advisories describe each step; the ATT&CK labels are our own mapping.

Web and proxy logs

  • Slash in the service parameter. Any request where service contains /, in the query string or in the service attribute of an XML body, matches the step 2 bypass. Legitimate clients send plain values such as WFS or WMS. (T1190, Exploit Public-Facing Application.)
  • Odd GetFeatureById IDs. Requests to the GetFeatureById stored query whose ID contains quotes, angle brackets or XML namespace text such as XInclude are not normal feature IDs.
  • Overlong stored query IDs that trigger exceptions, the step 1 path leak.
  • Error responses that carry file content. “Illegal property name” errors that contain file paths or text from configuration files suggest step 3 succeeded.

Server and data directory

  • Unknown stored queries. The advisory recommends reviewing wfs/query and workspaces/*/wfs/query in the data directory for queries you did not create.
  • Outbound connections from GeoServer to unfamiliar hosts, which can indicate SSRF through step 3.
  • New JDBC user or role services, or database uploads through /rest/resource or /rest/security, which match step 5.
  • Admin sessions without a password login, where an administrator appears through a remember-me cookie with no matching interactive login.
  • Child processes of the GeoServer Java process, such as shells or download tools. (T1059, Command and Scripting Interpreter.)

What should defenders do now?

Patch first; the rest reduces risk while you do, or limits damage if someone got in earlier.

  1. Upgrade to GeoServer 3.0.2, 2.28.6 or 2.27.7. This fixes all five chain steps and the other issues published on 23 November.
  2. If you cannot upgrade today, block slashes in service at a reverse proxy or WAF, as the advisory for CVE-2026-129243 recommends.
  3. Restrict or disable WFS for anonymous users, or turn WFS off entirely if you do not need it. This is the advisory’s mitigation for CVE-2026-120705.
  4. Kill the forged-cookie path. Remove rememberme from the web filter chain, or set a long random key in security/config.xml. After upgrading, a cluster needs a shared key through the GEOSERVER_REMEMBERME_KEY property, because the fix gives each node a random key.
  5. Lock down the REST API. Limit /rest/resource and /rest/security to trusted networks and limit administrator accounts to people who need them.
  6. Assume exposure if you were unpatched and public. Review stored queries, change administrator passwords as the advisory advises, and check the host for persistence.
  7. Re-check internet exposure. A mapping server rarely needs its admin interface on the open internet.

How does this compare with earlier GeoServer KEV entries?

This is the third time in under two and a half years that GeoServer has landed in CISA’s catalog. The KEV feed lists four GeoServer entries in total.

CVE Added to KEV Type Unauthenticated Path to code execution
CVE-2024-36401 15 July 2024 Eval injection in property names Yes Direct, single bug
CVE-2025-58360 11 December 2025 XML external entity in WMS GetMap Yes Not stated in KEV entry
CVE-2026-129243 27 November 2026 Incorrect authorization Yes Chain step 2 of 5
CVE-2026-120705 27 November 2026 XML injection, XXE, SSRF Yes Chain step 3 of 5
Headline figures for the November 2026 GeoServer disclosure, including 17 CVEs and four KEV entries.
Two of seventeen newly published CVEs are confirmed exploited, and GeoServer now has four KEV entries. Data: GeoServer, CISA KEV catalog.

The difference this time is shape. CVE-2024-36401 was one bug with a direct route to code execution. The 2026 chain is five moderate-to-serious bugs, each fixable on its own, that only add up to remote code execution when combined. It is the same lesson as other recent KEV entries such as the Xen Orchestra empty-cookie bypass: authentication logic that disagrees with itself in one place is enough.

The other fixes in the same releases

The 23 November post lists 17 CVEs fixed in the October releases. Beyond the chain, several matter for exposed servers: unauthenticated SSRF in the WPS Download and WPS extensions (CVE-2026-120701, CVE-2026-120706), source IP rule bypasses via X-Forwarded-For in GeoFence and the ACL plugin (CVE-2026-120707, CVE-2026-120708), and a separate two-step chain to stored XSS (CVE-2026-129294, CVE-2026-129293). Upgrading fixes them all.

What is still unknown?

  • Who is exploiting it. No source reviewed for this article names an actor, campaign or victim. CISA lists ransomware use as Unknown, and the Cyber Centre cites only unnamed open source reporting.
  • Whether attackers run the full chain. CISA lists only steps 2 and 3. That shows exploitation of the auth bypass and the file read, not confirmed use of the cookie forgery or deserialization steps.
  • How step 2 feeds step 3. The CVE-2026-129243 advisory calls stored queries created through the bypass the entry point for CVE-2026-120705. The CVE-2026-120705 advisory says the built-in query needs no authentication or CreateStoredQuery access. Both can be true, but the public text does not show which route attackers used.
  • Exposure numbers. No scan count of vulnerable internet-facing GeoServer instances was published in the sources reviewed.
  • Older unsupported versions. The advisories list fixes for three branches only. Anything older has no listed patch.

The bottom line

GeoServer CVE-2026-129243 and CVE-2026-120705 are confirmed exploited, and the project says they are part of a chain to unauthenticated code execution. The fix has existed since October, so every unpatched public instance is a choice, not bad luck. Upgrade to 3.0.2, 2.28.6 or 2.27.7, block slashes in the service parameter, and check your stored queries for anything you did not create.

Sources

This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.

Frequently asked questions

What is GeoServer CVE-2026-129243?

It is an incorrect authorization flaw in GeoServer. A service parameter with a prefix, such as x/WFS, runs the WFS service but skips the service security rule check, so anonymous users can call operations restricted only by those rules.

What is CVE-2026-120705?

It is an unauthenticated XML injection in GeoServer's built-in WFS 2.0 GetFeatureById stored query. One request can make the server read a local text file or fetch an attacker-chosen URL and, in some setups, return the content in an error message.

Are CVE-2026-129243 and CVE-2026-120705 exploited in the wild?

Yes, according to CISA, which added both to its Known Exploited Vulnerabilities catalog on 27 November 2026 based on evidence of active exploitation. The Canadian Centre for Cyber Security also cites open source reporting of exploitation.

Which GeoServer versions are affected?

GeoServer 3.0.0 to 3.0.1, 2.28.0 to 2.28.5, and 2.27.6 and earlier. The fixed versions are 3.0.2, 2.28.6 and 2.27.7.

Can these GeoServer bugs lead to remote code execution?

The GeoServer project says they are steps 2 and 3 of a five-step chain that ends in unauthenticated remote code execution, together with CVE-2026-129244, CVE-2026-129245 and CVE-2026-129242. CISA's catalog entries repeat that chaining statement.

How do I mitigate the GeoServer KEV vulnerabilities if I cannot patch today?

Block requests whose service parameter contains a slash at a proxy, restrict or disable WFS for anonymous users, and remove the remember-me filter from the web filter chain or set a long random remember-me key. Upgrading is still the only full fix.

Who is exploiting the GeoServer flaws?

No public source reviewed here names an actor, a campaign or victims. CISA lists known ransomware use as Unknown.

Is this the first GeoServer vulnerability in CISA KEV?

No. CISA added CVE-2024-36401 in July 2024 and CVE-2025-58360 in December 2025, so the November 2026 additions bring the number of GeoServer entries in the catalog to four.

Keep reading

GeoServer CVE-2026-129243CVE-2026-120705GeoServerCISA KEVWFSgeospatial securityvulnerability management