If you run GeoServer on the open internet, today is a good day to check your version. CISA gave US federal agencies until November 30 to fix two GeoServer flaws that attackers have been probing since November 25. This GeoServer vulnerability pair, CVE-2026-120705 and CVE-2026-129243, is the unauthenticated entry point to a five-step chain that ends in remote code execution on a default installation. The fixes have been out for weeks. Anything still on 3.0.1, 2.28.5 or older is exposed.
GeoServer is the open source Java server that government agencies, utilities and mapping offices use to publish geospatial data over OGC services such as WMS and WFS, usually to unauthenticated users. That public surface is exactly what this chain abuses. Eye Security counted more than 3,000 GeoServer instances reachable from the internet. We went through the project’s advisories, the CISA catalog entry and the researchers’ write-ups to pull together what you need to check and change.
Affected GeoServer versions and the fix
Has the GeoServer vulnerability been fixed? Yes, but only in the latest releases. Every version up to 2.27.6 is affected, along with 2.28.0 through 2.28.5 and 3.0.0 through 3.0.1. GeoServer 3.0.2, 2.28.6 and 2.27.7 fix all of these security vulnerabilities. The project shipped those releases in October and early November but held back the details until November 23, once CVE numbers had been assigned. That delay was deliberate. GeoServer follows a coordinated vulnerability disclosure policy, so admins get a head start before public disclosure tells everyone what was fixed.
The web admin shows your version under “About GeoServer” in the build information. With an admin account you can also ask the REST API:
curl -s -u admin https://geo.example.org/geoserver/rest/about/version.json \
| python3 -m json.tool | grep -A4 '"GeoServer"'
Don’t stop at the GeoTools library. It gets part of the CVE-2026-120705 fix in 33.7, 34.6 and 35.2, but the other flaws live in GeoServer modules such as gs-ows, gs-main and gs-sec-jdbc. You need the full GeoServer release. Eye Security also points out that 2.27.x is no longer officially supported. The current lines are 3.0.x (stable) and 2.28.x (maintenance).
How the GeoServer vulnerability chain reaches remote code execution
Jonah Burgess, a security researcher at Rapid7 who goes by CryptoCat, reported the full chain over the summer. The CVE Numbering Authority asked for each step to get its own ID, which is why the advisory reads like a list of moderate bugs. On their own, most of them are. Together they are not.
Step one is minor. A WFS stored query request with an overlong ID triggers a file system error, and the exception report leaks the absolute path of the data directory (CVE-2026-129244). Step two is the authorization bypass, CVE-2026-129243. Send service=x/WFS instead of service=WFS and the dispatcher still routes the request to WFS, but service security checks the raw value x/WFS, finds no matching rule and waves it through. By default only admins may create and drop stored queries. With the prefix, anyone can.
Step three is CVE-2026-120705. The built-in GetFeatureById stored query drops the caller’s ID into an XML template without escaping and parses the result without GeoServer’s entity resolver. That lets an attacker inject an xi:include, so the server reads local text files or fetches arbitrary URLs. If a layer is published to anonymous users, the file contents come back in the error message. Eye Security used it to pull users.xml with the password hashes.
Step four is the only flaw rated critical (CVE-2026-129245, CVSS 9.2). The remember-me cookie is signed with a key from security/config.xml, and the stock data directory ships that key as geoserver. Few people ever change it. With the key and an admin’s password digest you can forge a valid admin cookie without cracking anything. In the last step (CVE-2026-129242), the attacker, now an admin, uploads an HSQLDB file and points a JDBC user service at it. When GeoServer loads the users, it deserializes Java objects from the database, which ends in arbitrary code execution with the privileges of the GeoServer process.
Eye Security independently found a shorter route. It uses the same file read and forged cookie, then reaches code execution through CVE-2026-120704: an admin can configure a SQLite connection with enable_load_extension=true and load a native library. According to the advisory, on Windows both files can even come from an SMB share, so nothing has to be staged on the server first.
What attackers have been doing since November 25
watchTowr picked up the first attempts on its honeypot network early on November 25, two days after disclosure. The threat actors came from several IP addresses. The attackers created stored queries, checked that they existed and deleted them right away. That is reconnaissance: building a list of vulnerable servers for later. watchTowr has not reported successful code execution so far. CISA added both entry-point vulnerabilities to its Known Exploited Vulnerabilities catalog on November 27 with today as the deadline, and Canada’s Cyber Centre has issued its own warning about exploitation.
This is not GeoServer’s first time in that catalog. CVE-2024-36401, an eval injection caused by GeoTools evaluating property names as XPath expressions, which let unauthenticated attackers run code, was added in 2024 and fixed in 2.23.6, 2.24.4 and 2.25.2. The XXE flaw CVE-2025-58360 followed at the end of 2025, and according to Eye Security a SQL injection in GeoServer was exploited in August of this year before a patch existed. If you expose GeoServer publicly, you need an update process measured in days, not quarters. We saw the same speed with the Drupal installer flaw CVE-2026-132165.
Upgrading to 3.0.2 and what changes afterwards
The upgrade is the real fix. For a WAR deployment, replace the application in your servlet container. For containers, pull the new image and confirm under “About GeoServer” that you are actually on 3.0.2 or 2.28.6. Back up the data directory first. After the upgrade each node uses a random remember-me key that no longer lives in the data directory. Existing remember-me cookies stop working, so users will have to log in again. Clusters set a shared key through the GEOSERVER_REMEMBERME_KEY application property.
The JDBC security services get stricter too. They now accept only known drivers and connection parameters and reject absolute paths for DML and DDL files. If you really need extra parameters, allow them with GEOSERVER_JDBC_EXTRA_PARAMETERS. Most installations need no manual steps.
Stopgaps if you cannot patch today
The project lists a mitigation for each flaw. The prefix trick matters most because it opens stored queries to everyone. Block any request whose service parameter contains a slash at your reverse proxy. In nginx, something like this does the job:
location /geoserver/ {
# reject service=x/WFS and service=x%2FWFS (CVE-2026-129243)
if ($args ~* "(^|&)service=[^&]*(/|%2f)") {
return 403;
}
proxy_pass http://127.0.0.1:8080;
}
This only covers the query string. The advisory explicitly notes that the service can also be named in the service attribute of an XML POST request, which this rule does not inspect. If you don’t need public WFS, restrict it for anonymous users under “Security > Services” or turn it off. That also takes the sting out of CVE-2026-120705.
To stop cookie forgery, remove rememberme from the web filter chain under “Security > Authentication”. Changing the key in security/config.xml to a long random value is the alternative, but it won’t help if the same file read exposes the new key. Limit the REST endpoints /rest/resource and /rest/security to trusted networks anyway, and remove the SQLite JDBC driver from the classpath if nothing uses it.
Checking whether your GeoServer was hit
Start with the proxy access logs:
zgrep -iE "service=[^& ]*(/|%2f)|GetFeatureById|CreateStoredQuery|DropStoredQuery" /var/log/nginx/access.log*
Then look in the data directory’s wfs/query and workspaces/*/wfs/query folders for stored queries you didn’t create. An empty folder proves little, since the attackers watchTowr observed deleted their queries immediately. Also check for JDBC user or role services you don’t recognize and for files uploaded to the data directory through the REST API. If you can’t rule out exposure, change the admin passwords, as the CVE-2026-129245 advisory recommends. If you find real traces and the GeoServer process runs with broad privileges, treat the host as compromised. Our write-up on the Cacti vulnerability 4HTTP2ROOT walks through a similar cleanup.
Our take
The individual scores are misleading. Only one flaw is critical and two are medium, yet together they give an unauthenticated attacker full control of a default GeoServer installation. A public proof-of-concept exploit exists and scanning has been going on for five days. For internet-facing instances the order is simple: upgrade to 3.0.2 or 2.28.6 today, then review the logs and rotate admin passwords if the server was exposed before the upgrade. If you’re stuck on 2.27.x, take 2.27.7 as a stopgap and plan the move to a supported line.
Eye Security’s note on the disclosure process is worth reading too. The researchers found the bugs with AI assistance and assume attackers with good models and the patch diff could do the same, which makes the quiet weeks between fix and disclosure riskier than they used to be. The practical lesson: when a project flags a release as an important security upgrade, don’t wait for the details. The full list of fixes is in the GeoServer security update, the chain is documented in advisory GHSA-hgm3-wq4h-8vvq, and the catalog entry is in CISA’s alert. For another recent KEV case, see our piece on CVE-2026-119977 in WordPress core.




