← Vulnerabilities

ExploitedCVSS 8.8 (High)Advisory

[Exploited] CVE-2026-129243: OSGeo GeoServer Incorrect Authorization Vulnerability

VulnPulse explainer

GeoServer CVE-2026-129243 and CVE-2026-120705 added to KEV: a prefixed service name slips past role checks and opens a 5-step path to code execution

On November 27 CISA put two GeoServer flaws in its Known Exploited Vulnerabilities catalog. CVE-2026-129243 lets anyone skip the per-service role rules, and the GeoServer project says it is one link in a five-flaw chain that ends in code execution without logging in.

Contents
  1. Who is affected
  2. In plain words
  3. How it works
  4. How the attack unfolds
  5. What to do
  6. Not yet known
  7. Sources

Who is affected

GeoServer 3.0.0 to 3.0.1, 2.28.0 to 2.28.5, and 2.27.6 or earlier. The fixes shipped on October 19 in 3.0.2, 2.28.6 and 2.27.7. The 2.27 line had already reached end of life; 2.27.7 was a one-off stopgap. The supported lines are 3.0 (stable) and 2.28 (maintenance).

In plain words

Ask the front desk for "Accounts" and they check your badge. Ask for "x/Accounts" and no rule on their list matches, so they wave you through, while the guide still walks you straight to Accounts. The person reading the destination and the person checking the list were reading it differently.

How it works

GeoServer is a Java server that publishes and edits map and feature data through OGC standards such as WFS. Its service security rules decide which role may call which operation. When the service parameter carries a slash prefix, the dispatcher drops the prefix and runs WFS, but the security check compares the original, prefixed string against its rules. Nothing matches, so the role check never happens. Out of the box, only administrators may create or drop stored queries, so an anonymous caller gains those operations. Any other operation guarded only by these rules, such as a WFS Transaction, loses its protection too, while layer and data security still apply. The GitHub advisory scores it 8.8 (High) under CVSS v4. The fix makes the check use the service name the dispatcher actually picked.

How the attack unfolds

  1. According to the GeoServer team, the reporter submitted a five-step chain to unauthenticated command execution, and the CVE Numbering Authority asked for one CVE per step
  2. Step 1 (CVE-2026-129244, Medium): an overly long stored query ID makes the error response reveal the full path of the data directory
  3. Step 2 (CVE-2026-129243, now in KEV): the prefixed service name dodges the role check, so an anonymous caller can create stored queries, an admin-only operation by default
  4. Step 3 (CVE-2026-120705, now in KEV): XML slipped into GetFeatureById, a stored query built into WFS 2.0, makes the server read local text files or fetch a URL of the attacker's choosing
  5. Step 4 (CVE-2026-129245, Critical): most installs keep the remember-me signing key that ships with GeoServer. With that key and an admin's stored password digest, someone can mint an admin login cookie without the password
  6. Step 5 (CVE-2026-129242, High): as an admin, pointing a JDBC user or role service at a prepared database makes GeoServer deserialize Java objects from it and run code with the GeoServer process's privileges

What to do

  • GeoServer admins: move to 3.0.2 on the 3.0 line or 2.28.6 on 2.28. If you are on 2.27 or older, treat 2.27.7 as a stopgap and plan a move to 3.0 or 2.28
  • Admins who cannot update yet: following the GitHub advisory, have the proxy in front of GeoServer reject requests whose service value contains a slash, whether it arrives in the query string or in the service attribute of an XML body
  • GeoServer admins: look through wfs/query in the data directory, and the wfs/query folder under each workspace, for stored queries nobody on your team created
  • GeoServer admins: consider changing administrator passwords, which the advisory recommends if you suspect exposure. In the fixed releases the remember-me key no longer lives in the data directory, and upgrading invalidates existing remember-me cookies. Clusters set a shared key through the GEOSERVER_REMEMBERME_KEY application property
  • GeoServer admins: keep the admin UI and the REST endpoints /rest/resource and /rest/security reachable only from trusted networks, as the step 5 advisory suggests
  • US federal agencies: the KEV due date is November 30. Patch internet-facing servers first, per BOD 26-04

Not yet known

  • Who is exploiting this, since when, and how far along the chain. The Hacker News reported on November 25 that watchTowr had seen both flaws exploited, but as of November 28 watchTowr's blog has no post on it. CISA only marks the flaws as exploited, and the GeoServer posts do not mention exploitation
  • Only steps 2 and 3 are in KEV; as of November 28 the other three (CVE-2026-129244, 129245 and 129242) are not
  • As of November 28 neither CVE has a published record at cve.org or NVD yet; the details are in the GitHub security advisories
  • The 2.27.7 release post leaves CVE-2026-129245 (the remember-me key) off its list, while that advisory says 2.27.7 fixes it

Sources

Written in our own words by VulnPulse from the original article and public sources. Check the sources for authoritative details. Updated:

Original notice (source text)

OSGeo GeoServer GeoServer contains an incorrect authorization vulnerability that allows an unauthenticated remote attacker to bypass service-level role checks and invoke operations protected solely by those checks via a request with a prefixed service parameter. This vulnerability can be chained with CVE-2026-129244, CVE-2026-120705, CVE-2026-129245, and CVE-2026-129242 to achieve unauthenticated remote code execution on an affected GeoServer instance.

Read on CISA Known Exploited Vulnerabilities

On 11/28/2026, 03:19 AM, CISA Known Exploited Vulnerabilities published "[Exploited] CVE-2026-129243: OSGeo GeoServer Incorrect Authorization Vulnerability" (type: Advisory). CISA lists it as known exploited (KEV). The vendor / NVD rating is CVSS 8.8 (High). CVE: CVE-2026-129243.