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?
- What is CVE-2026-120705?
- How does the five-step GeoServer RCE chain work?
- When was it disclosed, and why does the timing matter?
- Who is affected and how do you check your exposure?
- How do you detect exploitation of the GeoServer KEV bugs?
- What should defenders do now?
- How does this compare with earlier GeoServer KEV entries?
- What is still unknown?
- The bottom line
- Sources
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 |
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.
- 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:
- 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-owsandgs-wfs-coreJAR names. - Decide whether WFS is reachable by anonymous users. Step 3 works without any login when WFS is open.
- Check whether the remember-me filter is still in the
webfilter chain and whethersecurity/config.xmlstill holds the shipped key. - Check who can reach
/rest/resourceand/rest/security. Step 5 depends on those administrator endpoints.
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
servicecontains/, in the query string or in theserviceattribute of an XML body, matches the step 2 bypass. Legitimate clients send plain values such asWFSorWMS. (T1190, Exploit Public-Facing Application.) - Odd GetFeatureById IDs. Requests to the
GetFeatureByIdstored 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/queryandworkspaces/*/wfs/queryin 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/resourceor/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.
- 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.
- If you cannot upgrade today, block slashes in
serviceat a reverse proxy or WAF, as the advisory for CVE-2026-129243 recommends. - 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.
- Kill the forged-cookie path. Remove
remembermefrom thewebfilter chain, or set a long random key insecurity/config.xml. After upgrading, a cluster needs a shared key through theGEOSERVER_REMEMBERME_KEYproperty, because the fix gives each node a random key. - Lock down the REST API. Limit
/rest/resourceand/rest/securityto trusted networks and limit administrator accounts to people who need them. - Assume exposure if you were unpatched and public. Review stored queries, change administrator passwords as the advisory advises, and check the host for persistence.
- 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 |
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
CreateStoredQueryaccess. 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
- CISA: CISA Adds Three Known Exploited Vulnerabilities to Catalog (27 November 2026)
- CISA Known Exploited Vulnerabilities catalog (JSON feed, version 2026.11.27)
- Canadian Centre for Cyber Security: GeoServer security advisory (AV26-1207)
- GeoServer: GeoServer Security Update - November 2026
- GHSA-rv5g-g2r9-58rj: CVE-2026-129243 service security bypass
- GHSA-39mw-5chv-jh47: CVE-2026-120705 WFS GetFeatureById XML injection
- GHSA-4v26-c537-jvxc: CVE-2026-129244 data directory path disclosure
- GHSA-hgm3-wq4h-8vvq: CVE-2026-129245 remember-me key forgery
- GHSA-9wf2-fcgq-vxhq: CVE-2026-129242 JDBC deserialization
- DEV Community: CVE-2026-129243 in CISA KEV, a prioritization case for internet-facing GeoServer
- GitHub: geoserver/geoserver repository
This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.