Threats

Attackers probe GeoServer vulnerabilities from a five-CVE RCE chain

Adam Bream
By Adam Bream , Tech Content Writer
Attackers probe GeoServer vulnerabilities from a five-CVE RCE chain
Cover © Anonhaven

Attackers are already probing GeoServer for two vulnerabilities disclosed two days ago. On November 25, 2026, watchTowr said its honeypot network caught exploitation attempts against CVE-2026-120705 and CVE-2026-129243. Both flaws sit inside a five-step chain that leads to remote command execution without a login.

GeoServer is an open-source Java server that publishes maps and geospatial data, and government institutions use it widely to publish open data. Eye Security counts more than 3,000 instances reachable from the internet. The project listed all five CVEs in advisory GHSA-hgm3-wq4h-8vvq on November 23, together with four companion advisories.

Attackers sent error-based exploit probes to validate that the server is vulnerable by creating and invoking stored queries.

— watchTowr, post on X, November 25, 2026

The post describes reconnaissance, not confirmed takeovers. watchTowr has not published indicators, the number of honeypots hit or the source addresses of the probes. It is also unknown whether the activity relies on the public proof-of-concept (PoC) code released this week.

Jonah Burgess, a Senior Security Researcher at Rapid7 who works under the alias CryptoCat, reported the full chain to GeoServer on August 2, 2026. At the request of the CVE Numbering Authority, the project split it into five advisories and fixed each step separately. GitHub assigned the identifiers on November 16.

GeoServer scored four of the advisories with CVSS 4.0 and one with CVSS 3.1. Burgess rates the whole chain at 9.8 under CVSS 3.1.

CVE Flaw, as GeoServer describes it Score
CVE-2026-129244 WFS stored query error discloses the data directory path (CWE-209) 6.9 moderate (CVSS 4.0)
CVE-2026-129243 Service security rules bypassed with a prefixed service name such as x/WFS (CWE-863) 8.8 high (CVSS 4.0)
CVE-2026-120705 Unauthenticated WFS GetFeatureById XML injection, local file read and SSRF (CWE-91, CWE-611, CWE-918) 8.6 high (CVSS 3.1)
CVE-2026-129245 Predictable remember-me key allows administrator session forgery (CWE-321, CWE-798) 9.2 critical (CVSS 4.0)
CVE-2026-129242 Deserialization in JDBC user and role services, administrator code execution (CWE-502) 8.6 high (CVSS 4.0)

CVE-2026-129244 is the mildest of the five. A stored query request with an overlong id returned an error report containing the absolute data directory path. Burgess notes that an attacker who already knows the path does not need this step.

CVE-2026-129243 lets anonymous users run operations that service security reserves for administrators. GeoServer's dispatcher resolved a prefixed name such as x/WFS to the real WFS service. The access check looked at the unresolved name and found no rule. The default configuration limits CreateStoredQuery and DropStoredQuery to administrators, so anonymous users could create and delete stored queries. Installations that lock down other operations the same way, WFS Transaction for example, lose that protection too. Layer and data security rules still apply.

CVE-2026-120705 lets one unauthenticated WFS (Web Feature Service) request read a local text file. The same request can fetch an attacker-chosen URL, a server-side request forgery. GeoServer says the built-in GetFeatureById stored query inserted the caller's ID into an XML template without escaping and parsed it without the project's entity resolver.

This bug does not depend on the x/WFS bypass, which is why Eye Security could build a chain without it. Fetched text comes back inside an "Illegal property name" error response, a string worth searching for in logs. Contents are echoed only when a layer is published to anonymous users, otherwise the file is read but not returned. The flaw also affects the GeoTools library package org.geotools:gt-metadata up to 33.6, 34.0 to 34.5 and 35.0 to 35.1, fixed in 33.7, 34.6 and 35.2.

The remember-me flaw turns a file leak into an admin login. In Burgess's chain, the leaked files are security/config.xml, which holds the remember-me key, and the default user service's users.xml with the administrator's password digest. GeoServer's release data directory ships with the key geoserver, "which most installations never change," the project notes.

Strong password hashing does not help here. Eye Security says GeoServer stores passwords as a salted hash with 100,000 iterations of SHA256. The cookie, however, is signed with that stored digest, not the password. The digest plus the key is enough, a pass-the-hash attack with no cracking.

An attacker who obtains an administrator password digest, through any file disclosure or a copy of the data directory, can log in as that administrator. Changing the key in security/config.xml does not help when the same file disclosure also reveals the key.

— GeoServer, advisory GHSA-hgm3-wq4h-8vvq, November 23, 2026

CVE-2026-129242 is the last link and needs administrator rights, which the forged cookie supplies. Through the REST API, an administrator can upload an HSQLDB database to the data directory and create a JDBC user group service backed by it. Stored property values were deserialized as Java objects when users or roles loaded, executing code. The JDBC security module and HSQLDB driver are part of the standard distribution.

Burgess says the chain works on a default installation. In his test against the official 3.0.0 container, where GeoServer runs as root, the final command executed with root privileges. His published conditions are network access to the WFS endpoint and REST API, the stock admin account and a Linux host. The chain ran on OpenJDK 17 under Jetty 12 and on the Java 21 runtime in the official Docker image. On August 15 he confirmed it also worked on 3.0.1.

Eye Security found part of the same set on its own. Niels Teusink's team reported to GeoServer on September 29 and built a three-step chain on CVE-2026-120705, CVE-2026-129245 and CVE-2026-120704. That last flaw (CVSS 3.1 7.2) lets an administrator pick the SQLite driver with enable_load_extension=true and load a native library into the GeoServer process. On Windows both the DML file and the library can come from an SMB share, so nothing has to be staged on the server. On other platforms the files must first be placed on the server's file system.

We used AI to find these bugs, and a determined attacker with good models could do the same, especially with the official patch to diff against. That makes the gap between releasing a fix and publishing details riskier than it used to be.

— Niels Teusink, Eye Security

Fixed builds shipped well before the details. Burgess dates GeoServer 3.0.2 to October 17, 2.27.7 to October 18 and 2.28.6 to November 2. Eye Security says 3.0.2 and 2.28.6 have been out since October 19. Affected are 2.27.6 and earlier, 2.28.0 through 2.28.5, and 3.0.0 through 3.0.1.

GeoServer has been a target before. In August 2026, attackers exploited the SQL injection in the GeoTools library used by GeoServer, CVE-2026-76904 (CVSS 9.8) as a zero-day. Eye Security also recalls that an unnamed US government agency was breached through a GeoServer flaw in 2025.

Three to five weeks passed between the fixed releases and the advisories, and probes were reported within two days of publication. For a server that often sits on the open internet at government institutions, the patch window effectively closed once the advisories went out.

— AnonHaven Editorial Team

Administrators should upgrade to GeoServer 3.0.2, 2.28.6 or 2.27.7. After logging in to the web interface, the version appears on the "About GeoServer" page under Build Information. Eye Security notes that the 2.27.x branch is no longer officially supported, even though it received the fix.

Upgrading changes session behavior. The fixed releases no longer keep the remember-me key in the data directory. Each start generates a random key, so existing cookies stop working. Clusters that need shared cookies should set the same GEOSERVER_REMEMBERME_KEY on every node.

The other fixes close each step separately. The dispatcher now hands the resolved service name to the access check. Stored query parsing uses GeoServer's configured entity resolver, and GeoTools' PreventLocalEntityResolver now checks every redirect against its allow-list. JDBC property values are read as text, and overlong stored query ids no longer reach the filesystem, with errors going only to the log.

JDBC security services now accept only known drivers and connection parameters, and they reject absolute DML and DDL file paths. Administrators who need extra parameters can allow them through the GEOSERVER_JDBC_EXTRA_PARAMETERS property.

The advisories list stopgaps for servers that cannot be patched today.

  • Block requests whose service parameter contains a slash, in the query string or in XML requests, at a proxy in front of GeoServer.
  • Remove rememberme from the web filter chain under Security, Authentication. Otherwise set a long random key in security/config.xml and protect the data directory from disclosure.
  • Restrict or disable WFS for anonymous users, or turn WFS off if it is not needed.
  • Limit the administration console and REST API to trusted administrators, and keep the /rest/resource and /rest/security endpoints on trusted networks.
  • Do not install JDBC drivers that are not required, such as SQLite.

Defenders should check the data directory folders wfs/query and workspaces/*/wfs/query for stored queries nobody created. GeoServer advises changing administrator passwords if exposure is suspected.

Have a story? Become a contributor.

We work with independent researchers and cybersecurity professionals. Send us a tip or submit your article for editorial review.

Questions on the topic

Which GeoServer versions fix the new vulnerabilities?
GeoServer 3.0.2, 2.28.6 and 2.27.7 fix all five vulnerabilities in the chain. Versions 2.27.6 and earlier, 2.28.0 to 2.28.5, and 3.0.0 to 3.0.1 are affected.
Are the GeoServer vulnerabilities exploited in the wild?
On November 25, 2026, watchTowr reported probes for CVE-2026-120705 and CVE-2026-129243 in its honeypots. The probes create and invoke stored queries to check whether a server is vulnerable.
How can I protect GeoServer if I cannot upgrade yet?
Block service parameters containing a slash at a proxy, remove rememberme from the web filter chain and restrict WFS for anonymous users. Also check wfs/query folders for unknown stored queries.