GeoServer Flaws Probed in the Wild Days After Disclosure: Six CVEs Chain to Unauthenticated Root RCE via an x/WFS Bypass and a Default 'geoserver' Cookie Key — Upgrade to 3.0.2, 2.28.6 or 2.27.7

Attackers began probing GeoServer for newly disclosed flaws CVE-2026-120705 and CVE-2026-129243 on 25 November, and researchers have published two chains that combine them with a default remember-me key (CVE-2026-129245) and JDBC bugs to reach unauthenticated code execution, as root in the official container, on servers older than 3.0.2, 2.28.6 or 2.27.7.
Overview
Attackers are now probing GeoServer for a set of flaws that its maintainers disclosed on 23 November 2026. GeoServer is the open-source Java server that publishes map and geospatial data over the OGC web standards (WMS, WFS, WCS). It runs inside government agencies, utilities, defence contractors, universities and GIS vendors. That user base, plus a history of earlier GeoServer flaws ending up in CISA's Known Exploited Vulnerabilities (KEV) catalog, is why this disclosure matters.
The maintainers published five advisories at once, and independent researchers then showed two separate ways to chain them. The result is unauthenticated remote code execution on a default install. On 25 November, security researchers running a global honeypot network said they had seen in-the-wild exploitation attempts against two of the flaws within a day or two of disclosure.
So far the activity is reconnaissance. Attackers create a stored query, check it, and delete it to confirm a target is vulnerable. No completed code-execution attack has been reported publicly. The fixes have been out since October, so any server still on an older build has had weeks of exposure without its owners knowing.
The Vulnerabilities
All six CVEs are fixed in GeoServer 2.27.7, 2.28.6 and 3.0.2 (and GeoTools 33.7, 34.6 and 35.2 for the metadata component). Affected releases are 2.27.6 and earlier, 2.28.0 to 2.28.5, and 3.0.0 to 3.0.1.
- CVE-2026-120705 (CVSS 8.6, High): unauthenticated XML injection in the WFS
GetFeatureByIdhandling. A single anonymous WFS request can read a local text file or trigger a server-side request forgery (SSRF) fetch. The file contents come back inside an "Illegal property name" error. The advisory says no authentication, custom stored query or CreateStoredQuery access is needed. - CVE-2026-129243 (CVSS 8.8, High): a service-security bypass. A request naming the service as
x/WFSis routed to WFS by the dispatcher, but the security rules check the unresolved name. Operations that are admin-only by default, such asCreateStoredQueryandDropStoredQuery, become open to anyone. Sites that lock down other operations this way, such as WFS Transaction, lose that protection too. - CVE-2026-129245 (CVSS 9.2, Critical): the remember-me cookie key is read from
security/config.xml, and the release data directory ships with the key set togeoserver. With that key and an administrator's password digest, an attacker can forge an admin session cookie. - CVE-2026-129244 (CVSS 6.9, Moderate): a WFS stored-query exception that leaks the absolute path of the data directory.
- CVE-2026-129242 (CVSS 8.6, High): deserialization in the JDBC user and role services, which lets an administrator run code.
- CVE-2026-120704 (CVSS 7.2): code-generation abuse through an administrator-controlled JDBC security configuration.
On their own, the last three flaws need admin access or only leak information. Combined with the first three, they don't.
Timeline
- 2 August 2026: an independent researcher reports a pre-authentication chain to the GeoServer project. The project acknowledges it on 10 August.
- 29 September 2026: a second research team reports its own, separate chain.
- 17–19 October 2026: GeoServer 3.0.2 and 2.27.7 are released with the fixes. The researchers give slightly different dates for these releases.
- 2 November 2026: GeoServer 2.28.6 is released, according to the first researcher's timeline.
- 16 November 2026: CVE ids are assigned, after the project split the chain into separate advisories.
- 23 November 2026: the GitHub security advisories go public.
- 24–25 November 2026: both research teams publish technical write-ups and a public proof-of-concept appears.
- 25 November 2026: honeypot operators report in-the-wild exploitation attempts.
As of CISA's catalog release on 25 November at 23:48 Mauritius time (19:48 UTC), none of the new CVEs was listed in KEV. That catalog already lists three older GeoServer flaws: CVE-2022-24816, CVE-2024-36401 and CVE-2025-58360.
Tradecraft
Observed activity. The honeypot operators said attackers came from multiple IP addresses. They sent error-based probes that created a stored query, invoked it to see whether it existed, and deleted it straight away. Reports disagree on which CVE pair was used. Some name CVE-2026-120705 with CVE-2026-129243, while the researchers' own quoted statement names CVE-2026-120705 with CVE-2026-129244. Either way, the pattern points to automated vulnerability validation, which often comes before mass exploitation.
Chain one (published 24 November). The first chain needs three flaws:
- Use the XML injection (CVE-2026-120705) to read
users.xmlandsecurity/config.xml. - Use the default key (CVE-2026-129245) to forge an administrator remember-me cookie.
- Abuse the JDBC configuration (CVE-2026-120704) to load an uploaded native library through SQLite.
The researchers verified it on both Linux and Windows, on 3.0.1 and 2.28.5. They also counted more than 3,000 GeoServer instances reachable from the internet.
Chain two (published 25 November). The second chain uses five steps:
- Leak the data-directory path (CVE-2026-129244) with an overlong
storedQuery_id. - Create a stored query anonymously through
service=x/WFS(CVE-2026-129243). - Use it to pull
users.xmlthrough an embeddedfile://reference (CVE-2026-120705). - Forge the admin cookie (CVE-2026-129245).
- Register a JDBC user service backed by an uploaded HSQLDB database (CVE-2026-129242).
Run against the official 3.0.0 container image, where GeoServer runs as root, this chain gave a root shell. It needs a Linux host, the stock admin account in the default user service, and network access to WFS and the REST API.
Indicators of Compromise
No IP addresses, domains or file hashes have been published. Treat the behavioural artefacts under Detection as your indicators.
Detection
Review GeoServer, reverse-proxy and web server logs back to at least October for:
- WFS requests with a
servicevalue that contains a slash, such asservice=x/WFS, in the query string or in the XMLserviceattribute. - Anonymous
CreateStoredQuery,DropStoredQueryorDescribeStoredQueriescalls, especially create-then-delete pairs within seconds of each other. - Very long
storedQuery_idvalues, and "File name too long" or "Illegal property name" errors in responses or logs. - Stored queries with
file://references to the data directory, for example paths ending insecurity/usergroup/default/users.xml. - REST resource uploads and new JDBC user-group or role services that nobody on your team created.
- Admin sessions authenticated by remember-me cookies from unfamiliar addresses.
Also check the stored-query folders wfs/query and workspaces/*/wfs/query in the data directory for entries you did not create.
Recommended Actions
- Upgrade now to 3.0.2, 2.28.6 or 2.27.7. Find your build under "About GeoServer › Build Information". The 2.27.x line is near end of support, so plan a move to 2.28 or 3.0.
- If you cannot patch at once, block any request whose
serviceparameter contains/at your proxy. Restrict or disable WFS for anonymous users, or turn WFS off if you don't use it. - Remove
remembermefrom thewebauthentication filter chain (Security › Authentication). The maintainers warn that changing the key insecurity/config.xmldoes not help if the same file-read flaw also exposes the new key. Fixed releases generate a random key at each start. Clusters should setGEOSERVER_REMEMBERME_KEY. - If the server was exposed and unpatched, assume credential exposure. Change all administrator passwords, review users, roles and JDBC services, and check the host for signs of code execution.
- Take the admin console and REST API off the internet. Put them behind a VPN or an IP allow-list.
- Don't run GeoServer as root in containers. Run it as an unprivileged user with a read-only file system where possible.
Analyst Assessment
We rate this High for now. Reported activity is still probing, and the full RCE chains need specific conditions, such as an enabled stock admin account or JDBC features. Even so, the first step is unauthenticated, works against default settings, and leaks password digests and the session-signing key. Two independent researchers have published detailed chains and one public PoC exists. Earlier GeoServer flaws went from disclosure to KEV listing and widespread abuse quickly. Expect the same here, with cryptominers, botnets and state-linked groups all interested in exposed GIS servers on government and utility networks.
The gap between the October fixes and the November advisories means many operators patched without knowing why, and many didn't patch at all. Patch, audit stored queries and admin sessions back to October, and take GeoServer's management interfaces off the public internet.
Sources
- Unauthenticated WFS GetFeatureById XML injection, CVE-2026-120705 (GeoServer, GitHub)
- Service security rules bypassed with a prefixed service name such as x/WFS, CVE-2026-129243 (GeoServer, GitHub)
- Predictable remember-me key allows administrator session forgery, CVE-2026-129245 (GeoServer, GitHub)
- Unauthenticated remote code execution vulnerability in GeoServer (Eye Security)
