GeoServer · 6 CVEs
GeoServer chain
Patch nowPublic exploit, no login, default setup. Probes seen.
TL;DR
Five chained bugs let someone with no login run code on an unpatched GeoServer in its default setup. Exploit code is public and attackers are already probing servers. Update GeoServer now, or use GeoServer's workarounds until you can.
More details
CryptoCat reported the chain on 2 Aug 2026: leak the data directory path (CVE-2026-129244), save a stored query without logging in through service=x/WFS (CVE-2026-129243), read the admin password digest and the remember-me key through XML injection (CVE-2026-120705), forge an admin cookie with that key, which ships as geoserver (CVE-2026-129245), and run commands through an uploaded database (CVE-2026-129242); Eye Security, which also found CVE-2026-120705 and counts over 3,000 GeoServer servers online, ends with a different admin bug instead (CVE-2026-120704). Sources disagree on what attackers are doing: watchTowr's post on X says its honeypots saw CVE-2026-120705 and CVE-2026-129243 used in error-based probes that create and invoke stored queries, while its FAQ says all five are exploited but its table marks only CVE-2026-129245; no source has shown attackers getting as far as running commands. The Hacker News lists CVE-2026-120704 as the chain's last step; GeoServer says it's CVE-2026-129242.
How scary is it?
- Yes: Works without logging in1,10,11,13
- Yes: Public exploit code is out10
- Yes: Attacks seen in the wild12,13,14,11
- No: Not on CISA's exploited list16
Scare-o-meter
Drop everything
Attackers are already on it.
Patch now.
Are you affected? only if all are true
1GeoServer, not updated
Affected: 2.27.6 and earlier, 2.28.0 to 2.28.5, and 3.0.0 to 3.0.1; 2.27.7, 2.28.6 and 3.0.2 are fixed. 2.26 and older are affected and have no fixed release. To see your version, log in to the web admin and open the About GeoServer page: Build Information lists it.1,2,3,4,5,19,17,15
2WFS and admin are reachable
The attack starts with an anonymous WFS request and then acts as admin: CryptoCat lists network access to WFS and the REST API as the preconditions, and for Eye Security's last step (CVE-2026-120704) GeoServer's advice is to restrict both the web admin console and the REST API, so blocking REST alone doesn't rule you out. GeoServer's default rules limit creating stored queries to admins, which the x/WFS bug skips, and rememberme is one of the login filters GeoServer sets up by default. CryptoCat and Eye Security say their chains work on a default installation with no configuration changes; watchTowr agrees. The public exploit targets the stock admin account, which is enabled by default. The public exploit needs a Linux server; Eye Security says its route also works on Windows.3,6,10,11,13,15,18
What to do
1Update GeoServer
3.0.2 (stable), 2.28.6 (maintenance) or 2.27.7. GeoServer announced all three on 19 Oct 2026, more than a month before the advisories went public on 23 Nov; the researcher dates 2.28.6 to 2 Nov. 2.27 is end-of-life: GeoServer says to apply 2.27.7 as a mitigation only and plan a move to 2.28 or 3.0. Unless GEOSERVER_REMEMBERME_KEY is set, fixed releases make a new random remember-me key each time they start, so remember-me cookies stop working after the update and after every restart. In a cluster, set it to the same long value on every node; then that key is used and restarts don't change it. If you suspect exposure, GeoServer says to change admin passwords.1,7,8,9,11,13,18,20
Latest safe versions checked 26 Nov
2If you can't update yet
GeoServer's stopgaps: block requests whose service parameter contains /, in the query string or in the service attribute of an XML request, at a proxy in front of GeoServer; remove rememberme from the web filter chain (Security > Authentication); limit the REST API's /rest/resource and /rest/security endpoints to trusted networks; disable WFS if you don't need it; and don't install JDBC drivers you don't need, such as SQLite, which Eye Security's route relies on. Changing the remember-me key alone doesn't help, because the same file read reveals the new key.1,2,3,4,6
3Look for signs
Check the data directory's wfs/query and workspaces/*/wfs/query folders for stored queries you didn't create; the probes watchTowr saw create stored queries. watchTowr also suggests looking for unexpected JDBC user or role services, database files in the data directory you didn't upload and admin sessions created through remember-me cookies. The public exploit deletes its stored query, JDBC service and staging folder when it's done, and Eye Security's route uses the built-in GetFeatureById stored query and creates none, so a clean result doesn't prove nothing happened. If you find signs, change admin passwords; we would also treat the server as taken over, since the exploit runs commands as the GeoServer process, which is root in the official Docker image it was tested on.1,2,3,10,12,13,15
This page shows you how to check. It can't tell you you're safe.
Sources (20) and changelog
- GeoServer GHSA-hgm3-wq4h-8vvq: CVE-2026-129245, default remember-me key, the five-step chain, fixes and stopgap 23 Nov
- GeoServer GHSA-39mw-5chv-jh47: CVE-2026-120705, file read and SSRF with no login, CVSS 8.6 23 Nov
- GeoServer GHSA-rv5g-g2r9-58rj: CVE-2026-129243, x/WFS skips service security, default stored query rule, proxy block 23 Nov
- GeoServer GHSA-9wf2-fcgq-vxhq: CVE-2026-129242, admin code execution through JDBC user services 23 Nov
- GeoServer GHSA-4v26-c537-jvxc: CVE-2026-129244, data directory path disclosed 23 Nov
- GeoServer GHSA-wc3v-48j7-xf57: CVE-2026-120704, admin code execution through SQLite JDBC extension loading 23 Nov
- GeoServer 3.0.2 release: security fixes, announced 19 Oct 2026 19 Oct
- GeoServer 2.28.6 release: security fixes, announced 19 Oct 2026 19 Oct
- GeoServer 2.27.7 release: 2.27 is end-of-life, apply as a mitigation only 19 Oct
- CryptoCat: public proof of concept for the full chain, runs a command as root on the official 3.0.0 Docker image 23 Nov
- CryptoCat: write-up, preconditions, default install, timeline (2.28.6 on 2 Nov), watchTowr's report 25 Nov
- watchTowr on X: in-the-wild exploitation of CVE-2026-120705 and CVE-2026-129243 on its honeypots, error-based probes 25 Nov
- watchTowr FAQ: "exploitation attempts are already underway", table marks only CVE-2026-129245 exploited, default install, checks 25 Nov
- The Hacker News (copy on LavX News): two flaws exploited per watchTowr, chain lists CVE-2026-120704 as last step 25 Nov
- Eye Security: chain through CVE-2026-120704, default configuration, over 3,000 servers online, About page version check 24 Nov
- CISA KEV catalog: not listed
- GeoServer docs: About GeoServer page shows build information when logged in
- GeoServer docs: rememberme is a default login filter, GEOSERVER_REMEMBERME_KEY for clusters
- GeoServer downloads: 3.0 stable, 2.28 maintenance, 2.27 and older archived
- GeoServer PR 10008: remember-me key from GEOSERVER_REMEMBERME_KEY when set, otherwise random per run
- Published.