RC RANDOM CHAOS

GeoServer flaws exploited November 25, a day after advisories

Attackers are exploiting two GeoServer flaws while researchers chain unauthenticated file read, forged admin cookies and JDBC code execution into full RCE.

· 4 min read
GeoServer flaws exploited November 25, a day after advisories

watchTowr reported in-the-wild exploitation of two GeoServer vulnerabilities against its global honeypot network on the morning of November 25, one day after advisories for the flaws went public. The activity was a validation sweep: attackers from multiple IP addresses created a stored query on each GeoServer instance, confirmed it existed, and deleted it immediately. Error-based probes like these confirm a target is vulnerable before anyone commits to a full exploit.

The two flaws being exploited are CVE-2026-120705 (CVSS 8.6), an arbitrary file read, and CVE-2026-129243 (CVSS 8.8), an authorization bypass.

CVE-2026-120705 lets a single unauthenticated Web Feature Service request read local text files the GeoServer process can open, or make the server fetch an attacker-chosen HTTP or HTTPS URL. The mechanism, as Rapid7’s Jonah Burgess (CryptoCat) describes it, is XML injection: GeoServer turns escaped text inside a saved query into live xi:include elements, so a crafted WFS GetFeatureById request pulls whole files into the response.

CVE-2026-129243 is the authorization bypass. Stored query operations are meant to be admin-only, enforced by service security rules. Prefixing the service name, sending x/WFS instead of WFS, slips past that rule and lets an unauthenticated caller invoke OWS operations the rules should block.

The chain

The individual severity scores undersell it. Eye Security, which found and reported the file read, lays out a three-bug unauthenticated remote code execution chain that needs no credentials at any step:

  1. CVE-2026-120705 reads users.xml, which holds GeoServer usernames and password hashes, along with the static signing key from security/config.xml.
  2. CVE-2026-129245 (CVSS 9.2) forges a valid administrator cookie from the predictable signing key and the stored password representation, with no need to know or crack the admin password.
  3. CVE-2026-120704 (CVSS 7.2) abuses an admin-controlled JDBC configuration to run code from an uploaded native library, on both Linux and Windows builds.

CVE-2026-129245 is the load-bearing link. The “remember me” function signs its cookies with a hard-coded key, the literal string “geoserver”. Once the file read hands over an admin password digest and that key, an administrator session can be forged without the password. The GeoServer maintainers are blunt about the obvious mitigation: “Changing the key in security/config.xml does not help when the same file disclosure also reveals the key.” The same digest, they add, can be lifted from any copy of the data directory, not just a live file-read bug.

The maintainers describe a five-step variant of the same idea, independently reported by Burgess on August 2, 2026:

  • CVE-2026-129244 (6.9): a WFS stored query exception discloses the data directory path.
  • CVE-2026-129243 (8.8): the x/WFS prefix bypasses service security rules.
  • CVE-2026-120705 (8.6): WFS GetFeatureById XML injection reads the files.
  • CVE-2026-129245 (9.2): the predictable remember-me key forges an admin session.
  • CVE-2026-129242 (8.6): deserialization in the JDBC user and role services runs code as admin.

Both chains reach admin-level code execution through GeoServer’s JDBC subsystem, but by different bugs. The three-bug chain finishes with CVE-2026-120704, running code from an uploaded native library. The five-step chain finishes with CVE-2026-129242: as Burgess describes it, the admin points a JDBC user service at an uploaded HSQLDB database, and the bundled driver deserializes a stored value that runs commands.

What to do

Patch to GeoServer 2.27.7, 2.28.6, or 3.0.2. The advisories landed November 24, 2026, though the fixes themselves shipped across October and early November, so a recent-looking build is not proof you are covered. Check the fixed component versions directly: gs-wfs-core, gt-metadata, gs-ows, gs-main, gs-sec-jdbc, and the JDBC role service all have patched releases.

Because exploitation precedes most organizations’ patching, treat an exposed instance as possibly already touched. watchTowr’s Yordan Ganchev advises auditing exposed systems for leaked credentials, access, and code execution on the host, and restricting network access where patching cannot happen immediately. Given that the chain exfiltrates the admin digest and forges sessions without cracking a password, rotating the admin password after the fact is not enough on a box that may already have leaked its data directory; rebuild from known-good state if you find evidence of the file read.

This is the second GeoServer bug under active exploitation in a quarter. CVE-2026-76904 (CVSS 9.8) was exploited as a zero-day a little over three months ago.

Share

Keep Reading

Latest on the Wire

Full wire →

New signal daily · RSS

Stay in the loop

New writing delivered when it's ready. No schedule, no spam.