Attackers are already probing GeoServer through two flaws that chain toward running code on the server (CVE-2026-120705, CVE-2026-129243)

5 min read

How to fix CVE-2026-120705 and CVE-2026-129243: upgrade GeoServer to 3.0.2, 2.28.6 or 2.27.7. A stranger with no account can slip past GeoServer's service rules, plant a stored query, and use it to read the server's own config and user files. The two flaws are steps in a longer chain that ends in running code on the server, and CISA added both to its exploited list on November 27.

On this page

GeoServer is the open source server a lot of governments, utilities and research shops use to publish maps and map data. On November 23 its maintainers published advisories for a set of flaws that chain together: five steps take an anonymous visitor from a first request to running code on the server. Attackers are not waiting for the full chain. watchTowr reported on November 25 that it was seeing CVE-2026-120705 and CVE-2026-129243 probed and used across its honeypots, and on November 27 CISA added both flaws to its Known Exploited Vulnerabilities list.

How to fix

Upgrade GeoServer to 3.0.2, 2.28.6 or 2.27.7, matching the line you run:

  • 3.0.0 to 3.0.1 goes to 3.0.2
  • 2.28.0 to 2.28.5 goes to 2.28.6
  • 2.27.6 and older goes to 2.27.7

Read that second line again if you patched in August. The releases that fixed August's GeoServer zero-day were 3.0.1, 2.28.5 and 2.27.6, and every one of them is inside the range these flaws affect. A server patched in August is not patched for this. The 2.27 line is end of life and 2.27.7 exists only as a security stopgap, so plan the move to 2.28.6 or 3.0.2 after it. If GeoTools is embedded in your own code, its metadata library needs 33.7, 34.6 or 35.2 for the file read flaw.

What the two flaws do

CVE-2026-129243 (scored 8.8) is the door. GeoServer checks its service security rules against the service name a request claims to be for, while the dispatcher routes the request by a cleaned up version of that name. A request that names its service x/WFS gets routed to WFS, but the rules get checked against x/WFS, match nothing, and let it through. With the default rules, that hands an anonymous visitor operations that belong to administrators, including creating and deleting WFS stored queries.

CVE-2026-120705 (scored 8.6) is what a planted query can do. The built in WFS GetFeatureById stored query drops a caller supplied ID into an XML template without escaping it, and the result gets parsed without GeoServer's entity protections. One request can then read local files the GeoServer process can read, including security/config.xml and users.xml, or make the server fetch a URL of the attacker's choosing. The maintainers note that the password hashes and the remember me signing key in those files are enough together to forge an administrator session.

Those two are steps two and three of the five step chain the maintainers describe. An error message that leaks the data directory path comes first, and the later steps turn the file read and the stolen signing key into running commands on the server. The last step, CVE-2026-129245, is scored 9.2.

Who is not in scope

Servers already on 3.0.2, 2.28.6 or 2.27.7 are fixed for all of this. The bypass in CVE-2026-129243 hits service level rules only: layer and data security rules still apply, so a layer you locked down by data rules does not open up because of it. And a GeoServer that no untrusted network can reach does not face the anonymous path, though anything that can reach its WFS endpoint can try it.

One check to run now

Ask the server its version:

curl "https://your-server/geoserver/rest/about/version"

If the version is below your line's fixed release, upgrade. Then look in the data directory, in wfs/query and in any workspaces/*/wfs/query folders, for stored queries you did not create. An unknown stored query on a server that was reachable and unpatched is a sign someone already used this path, and the files that query could have read hold admin credentials, so treat it as a credential exposure: patch first, then rotate the remember me key and admin passwords.

What this is not

This is not a flaw in map data, and publishing a layer does not create the risk. The risk sits in the WFS service and the service security check in front of it. It is also not a single bug to patch around: fixing only the XML injection leaves the rule bypass that lets strangers plant queries in the first place.

If you cannot upgrade today

Block requests at a proxy in front of GeoServer when the service parameter contains a slash, in the query string or in the XML body. That closes the named bypass until the upgrade lands. Restricting WFS for anonymous users, or turning WFS off where you do not need it, closes the file read path as well.

Why the KEV listing matters here

GeoServer has been through this before, with CVE-2024-36401 and CVE-2025-58360 both reaching the exploited list. The pattern is the same: a public, internet facing service, a flaw that needs no account, and probing that starts within days of the advisory. The fixes for this chain shipped on October 19, more than a month before the advisories went public, so there is no waiting for a patch to exist. There is only the version check above.

HOL covered the same shape of story in Drupal this week: the installer flaw CVE-2026-132165, and the follow up flaw CVE-2026-136716 that CISA listed on the same day as these two. A public service with an anonymous path to admin functions gets probed fast. Verify the version you are running instead of assuming the last patch round covered you.

If you run agents or automation against servers like these, HOL Guard checks what an agent can reach and what it can run: https://hol.org/guard/install

HOL's assessment

Treat any GeoServer reachable from the internet as urgent today, even one patched in August. The two listed flaws need no account, probing has already started, and the files the chain reads are the ones that hand over admin access. A server no untrusted network can reach can patch on its normal cycle. The upgrade closes every step of the chain at once.

Is CVE-2026-120705 a single bug or part of a chain?

Part of a chain. On its own it reads files and fetches URLs for an unauthenticated caller, which is bad enough when the files hold admin password hashes and the session signing key. In the chain the maintainers describe, it is step three of five, and the end of the chain is running code on the server. CISA listed CVE-2026-120705 and CVE-2026-129243 as exploited on November 27, 2026. Upgrading to GeoServer 3.0.2, 2.28.6 or 2.27.7 closes every step at once.

Related HOL coverage: LiteLLM guardrail sandbox escape, CVE-2026-40217 (CISA KEV) and MONAI Label path traversal, CVE-2026-133968 (CISA KEV).

Sources

GeoServer advisory for CVE-2026-120705: GHSA-39mw-5chv-jh47
GeoServer advisory for CVE-2026-129243: GHSA-hgm3-wq4h-8vvq
GeoServer advisory for CVE-2026-129244 (data directory path leak): GHSA-4v26-c537-jvxc; the five step chain is listed in the CVE-2026-129245 advisory
CISA Known Exploited Vulnerabilities catalog, additions of November 27, 2026
The Hacker News, November 2026: The Hacker News

All articles

Keep exploring

The engineering desk continues across the ecosystem: security research on shipping agents safely, and plugins that put the standards to work.