GeoServer's Two Flaws Are Being Exploited. The Chain Ends in Unauthenticated RCE.

GeoServer’s Two Flaws Are Being Exploited. The Chain Ends in Unauthenticated RCE.

GeoServer is under active attack. Two newly patched flaws in the open-source map server are already being exploited in the wild, and researchers warn the pair can be chained with two more vulnerabilities into full unauthenticated remote code execution — no login, no password, no user interaction. The patches have been out for weeks, and attackers are probing for servers that have not applied them yet.

The warning comes from watchTowr, which reported on November 25 that threat actors are sending error-based exploit probes against GeoServer instances to check whether they are vulnerable. The probes create and invoke stored queries to test for the file-read flaw before a real attack follows. Advisories for both flaws were published on November 24, 2026, but the fixes landed in October and early November.

Two flaws, both unauthenticated

The first flaw is CVE-2026-120705, rated 8.6 out of 10. It is an arbitrary file-read flaw in GeoServer’s Web Feature Service (WFS), which serves geographic feature data to mapping clients. A single unauthenticated WFS request can read local text files the GeoServer process can reach, or fetch an attacker-chosen HTTP or HTTPS URL. Eye Security, which discovered and reported the flaw, showed it can be combined with two other vulnerabilities to build an unauthenticated remote code execution chain. It is fixed in GeoServer 3.0.2, 2.28.6 and 2.27.7, and in GeoTools gt-metadata 35.2, 34.6 and 33.7.

The second flaw is CVE-2026-129243, rated 8.8. It is an authorization failure letting an unauthenticated attacker invoke OWS operations that service security rules should protect. The trick is almost embarrassingly simple — prefixing the Web Feature Service name, as in x/WFS, slips past the admin-only rule for stored queries. It is fixed in the same three GeoServer releases, in the gs-ows component.

How four flaws become full server control

Four GeoServer flaws converging into unauthenticated remote code execution

Four flaws, one chain.

Eye Security laid out the chain. First, the attacker exploits CVE-2026-120705 to read users.xml, the file holding GeoServer usernames and password hashes, together with the static signing key stored in security/config.xml. Second, the attacker exploits CVE-2026-129245 (9.2) — a hard-coded “remember me” signing key, literally the word “geoserver” — to forge a valid administrator authentication cookie from the stolen password representation, without knowing the admin password. Third, the attacker exploits CVE-2026-120704 (7.2), which lets anyone holding an administrator session execute arbitrary code as the user running GeoServer, by abusing an admin-controlled JDBC configuration to run code from an uploaded native library.

The maintainers describe a longer five-step version of the same chain, adding CVE-2026-129244 (6.9), where a stored-query exception discloses the data directory path, and CVE-2026-129242 (8.6), a deserialization flaw in the JDBC user and role services. Rapid7 researcher Jonah Burgess, who goes by the alias CryptoCat, independently discovered and reported the five-step chain on August 2, 2026. His summary: GeoServer turns escaped text in a saved query into live xi:include elements, which leaks the files holding the remember-me key and the admin password digest — and “those two values forge an administrator cookie without cracking the password.”

The maintainers warn that rotating the key alone is not enough: “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.”

Why this one deserves your attention today

GeoServer is not a niche tool. It powers countless public mapping portals, government geographic data services, and internal spatial-data platforms — often internet-facing by design, because serving maps is its whole job. An unauthenticated chain against a deliberately exposed service is the worst combination in vulnerability management: easy to find, easy to exploit, and the attacker needs nothing you can revoke.

There is also recent history. Three months ago, another critical GeoServer flaw, CVE-2026-76904 (9.8), was exploited as a zero-day. Drupal’s critical RCE flaw drew live exploitation the same week. The chain is a reminder of how small mistakes compound: a hard-coded signing key, a prefix check dodged with a slash, a file read that hands over the very secrets meant to stop the next step — the same compounding failure as when a malicious definition let binary-parser run attacker code.

What to do now

Patched GeoServer versions and the three actions to take now

Upgrade first, then rotate exposed secrets.

1. Upgrade GeoServer today. Move to 2.27.7, 2.28.6 or 3.0.2 for your line, and update GeoTools gt-metadata to 35.2, 34.6 or 33.7. The patched releases close all five flaws in the chain, not just the two being exploited.

2. Rotate the signing key and the admin credentials. Patching stops new exploitation, but it does not undo a file read that already happened. Change the “remember me” signing key in security/config.xml and reset administrator password digests.

3. Hunt for the probes. Look for error-based WFS stored-query activity in your logs: requests that create and invoke stored queries, unexpected x/WFS style service prefixes, and WFS errors that disclose paths. If the probes touched your server, the evidence is in the logs.

4. Check what is exposed. Confirm which GeoServer instances are reachable from the internet and whether every one of them is patched. A forgotten staging server or an old demo instance running an unpatched version is exactly the foothold this chain is built for.

The fixes are published, the chain is documented, the versions are clear. The rest is execution — upgrade, rotate, and check the logs.

Comments

This site uses Akismet to reduce spam. Learn how your comment data is processed.