5

steps in one unauthenticated command execution chain

2

of those steps on CISA's exploited list since 27 Nov

3,000+

internet accessible GeoServer instances, per Eye Security

18

GeoServer advisories published on 23 Nov 2026

Patch GeoServer for the chain, not the CVE

CISA's exploited list now carries two GeoServer flaws, CVE-2026-120705 and CVE-2026-129243. Read on their own, they are a file read and an authorization bypass, both rated High. Read the way GeoServer's own maintainers wrote them up, they are steps two and three of a five step chain that takes an anonymous request to code execution on the server. The chain is the finding. Its parts are paperwork.

Most vulnerability programs work from a list of CVE IDs. A ticket for CVE-2026-120705 gets a priority from its score, a ticket for CVE-2026-129243 gets another, and a medium rated path disclosure called CVE-2026-129244 may not get a ticket at all. None of those tickets says "an attacker with no account can run commands on this host". Yet that is what the five of them do together, and it is what Eye Security demonstrated on Linux and Windows with its own three step version.

One upgrade closes every link. GeoServer 3.0.2, 2.28.6 and 2.27.7 fix all five, and the releases were out weeks before the advisories. The less comfortable news is that two of the links feed on configuration the upgrade does not change by itself: a remember-me signing key that ships as the word "geoserver", and administrator password digests sitting in a data directory that a file read can reach. If a server was exposed while it was vulnerable, upgrading it does not tell you whether someone already took those.

So our advice is plain. Patch by the release, not by the CVE. Then treat any GeoServer that faced the internet on an older build as a host that may have leaked its administrator credentials, and act on that.

What GeoServer and CISA disclosed

GeoServer published 18 security advisories on its GitHub repository on 23 Nov 2026. Most are routine. Five are different. The advisory for CVE-2026-129245 lists them as the numbered steps of "an unauthenticated remote command execution chain", and says that at the request of the CVE Numbering Authority each step was fixed separately.

The five, in the maintainers' order:

  1. CVE-2026-129244: a WFS stored query error that reveals the absolute data directory path.
  2. CVE-2026-129243: service security rules bypassed with a prefixed service name.
  3. CVE-2026-120705: XML injection in the built in WFS GetFeatureById stored query, giving file read and server side request forgery without a login.
  4. CVE-2026-129245: a predictable remember-me key that lets someone forge an administrator session.
  5. CVE-2026-129242: deserialization in the JDBC user and role services, which lets an administrator run code.

According to The Hacker News, a Rapid7 researcher reported the five step chain on 2 Aug 2026. Eye Security found some of the same flaws independently, reported them to GeoServer on 29 Sep 2026, and published its write up on 24 Nov. Its chain is shorter: the GetFeatureById file read, the forged remember-me login, and CVE-2026-120704, a code execution path through SQLite extension loading in the JDBC security configuration.

The fixed releases came first. GeoServer's GitHub releases page shows 3.0.2 published on 17 Oct 2026, 2.27.7 on 18 Oct and 2.28.6 on 2 Nov. The advisories followed on 23 Nov. Anyone who upgraded on the release cycle was covered for weeks before the details were public. Anyone who waits for a CVE alert to schedule work was exposed for that whole stretch without knowing it.

Then came the attacks. On 25 Nov, watchTowr reported in-the-wild activity against its honeypot network. In the firm's words, as quoted by SecurityWeek, "Attackers sent error-based exploit probes to validate that the server is vulnerable by creating and invoking stored queries." Per The Hacker News, watchTowr saw requests from multiple IP addresses, and the actors created stored queries, checked they existed, and deleted them straight away. SecurityWeek is careful on the point that matters most: watchTowr has not reported any case of attackers achieving remote code execution. This is validation.

On 27 Nov 2026, CISA added CVE-2026-120705 and CVE-2026-129243 to the Known Exploited Vulnerabilities catalog, "based on evidence of active exploitation", alongside a Drupal core flaw. The Hacker News reports a federal deadline of 30 Nov 2026.

GeoServer's five step chainHigh
  • Product //

    GeoServer, the open source Java server for publishing geospatial data
  • Chain //

    CVE-2026-129244, CVE-2026-129243, CVE-2026-120705, CVE-2026-129245, CVE-2026-129242
  • Affected //

    2.27.6 and earlier, 2.28.0 to 2.28.5, 3.0.0 to 3.0.1
  • Fixed in //

    2.27.7, 2.28.6, 3.0.2 (GeoTools 33.7, 34.6, 35.2 for CVE-2026-120705)
  • Scores //

    6.9, 8.8, 8.6, 9.2 and 8.6, per the advisories
  • Login needed //

    No, for steps 1 to 4
  • Exploited //

    Steps 2 and 3 on CISA KEV since 27 Nov 2026; probing only, per watchTowr

How five GeoServer flaws become code execution

Each step hands the next one exactly what it needs. We describe what each stage achieves and leave the requests out.

Figure 01

From an anonymous request to code on the host

  1. 01

    Locate //

    An error reveals where the data directory lives.

  2. 02

    Bypass //

    A renamed service skips the admin only rule.

  3. 03

    Read //

    A stored query reads files the server can read.

  4. 04

    Forge //

    The default key and a digest mint an admin login.

  5. 05

    Execute //

    Admin features run code as GeoServer.

Result //

No account in, operating system commands out.

Steps 02 and 03 are the two links on CISA's list. Step 04 is the one that turns a leak into a login.

A stored query with an overlong name fails with a file system error, and the error report includes the full path to the data directory. GeoServer's own advisory calls this "not harmful by itself". It is a map, and the later steps need it.

Step two is the gate. GeoServer's service security lets an administrator restrict operations by service, and the default rules restrict creating and deleting WFS stored queries to administrators. The advisory for CVE-2026-129243 explains the flaw: the dispatcher strips a prefix from the service name to pick which service runs, while the security check looks at the name as sent. A prefixed name matches no rule, so the restricted operation runs with no role check.

Step three is the read. The built in GetFeatureById stored query took the caller's ID value and pasted it into an XML template without escaping it, then parsed the result without GeoServer's usual entity resolver. Per the advisory for CVE-2026-120705, a single unauthenticated request could read a local text file the GeoServer process can read, or make the server fetch a URL of the attacker's choosing, with the result returned in an error message. The file contents come back when a layer is published to anonymous users. Where none is, the file is still read but not shown.

Step four is where the chain becomes a takeover. GeoServer's remember-me cookie is signed with a key, the user name, an expiry and the stored password digest. The advisory for CVE-2026-129245 says the key is read from the data directory's security configuration, that the release data directory ships with the key "geoserver", and that most installations never change it. With the key and an administrator's digest, both of which live in files step three can read, an attacker can build a cookie GeoServer accepts as an administrator login. No password is needed.

Last, an administrator can configure a user and role service backed by a database file, and the advisory for CVE-2026-129242 says property values from it were deserialized in a way that runs code with the privileges of the GeoServer process. Eye Security reached the same place by a different administrator feature. Once someone is an administrator of a GeoServer, there is more than one way to run commands on its host.

Why the scores undersell the chain

Lay the five scores side by side and they look like a busy month rather than an emergency: 6.9, 8.8, 8.6, 9.2 and 8.6. The first is Medium. Three are High. Only the remember-me key reaches Critical, and that score assumes the attacker already has an administrator digest from somewhere else.

That is how CVSS is meant to work. Each score describes one flaw in isolation, with its own preconditions. The score for step four cannot assume step three, and the score for step five assumes the attacker is already an administrator, because that is the honest description of step five alone. Every score is correct, and the sum is still wrong. Unauthenticated command execution on an internet facing server is the top of anyone's severity scale, and nothing in the list says so.

Our own reports show the same pattern. The finding that ends an engagement is rarely one bug. It is a Medium that gives up a path, a High that gives up a file, and a default that turns the file into a login. Rate each one alone and the client fixes the High and parks the Medium. Rate the chain and they fix the step that is cheapest to break, which is often not the one with the biggest number.

In this chain, the cheapest step to break was never a code fix. It was the remember-me key. A long random key, or remember-me removed from the web filter chain, would have left steps one to three as a file read and nothing more. The upgrade now does it for you: GeoServer says the key is no longer stored in the data directory, each node uses a random key, existing remember-me cookies are invalidated on upgrade, and clusters set a shared key with the GEOSERVER_REMEMBERME_KEY property.

What the upgrade cannot do is reach backwards. If an attacker read the security configuration before you upgraded, they hold your administrator password digests. The new key stops them forging a remember-me cookie. It does nothing about a digest that can be cracked offline, or a password reused on another system. GeoServer's own advice is direct: "If you suspect exposure, change administrator passwords." For any server that faced the internet on an affected build, we would assume exposure.

The second piece of state is the stored queries themselves. A query created by step two persists as a file in the data directory. The advisory for CVE-2026-129243 tells administrators to review the wfs/query and workspaces/*/wfs/query folders for stored queries they did not create. That is a two minute check, and it is the one that tells you whether this was a scan or a visit.

How to detect GeoServer stored query abuse

The good detection surface here is outside GeoServer. Every step in the chain is an ordinary HTTP request to an OGC service, so the reverse proxy, load balancer or WAF in front of the server sees it, and those logs usually go somewhere a security team reads.

Three signals stand out from the advisories. A service parameter that contains a slash has no legitimate use, and GeoServer's mitigation for CVE-2026-129243 is to block exactly that at a proxy, whether it arrives in the query string or in the service attribute of an XML request. Requests to create or drop stored queries should come from your own administrators, from known addresses, and rarely. And error responses from stored query requests, especially in bursts from addresses you do not recognize, match the error based probing watchTowr describes.

One caution: requests sent as XML in a POST body do not show their parameters in a standard access log. If your proxy only logs the URL, the query string rule below will miss those, and the blocking rule at the proxy has to inspect the body to be complete.

Figure 02

Prefixed service names and stored query changes on GeoServer

Sigma

title: GeoServer OWS request with a prefixed service name
status: experimental
description: Flags proxy or web server log entries where the OWS service parameter contains a slash, the pattern GeoServer gives for CVE-2026-129243.
logsource:
  category: webserver
detection:
  selection_path:
    cs-uri-stem|contains:
      - '/geoserver/'
  selection_service:
    cs-uri-query|re: '(?i)(^|[?&])service=[^&]*(/|%2F)'
  condition: selection_path and selection_service
falsepositives:
  - None expected; GeoServer service names do not contain a slash
level: high
---
title: GeoServer stored query created or dropped
status: experimental
description: Flags CreateStoredQuery and DropStoredQuery operations, which the default GeoServer rules reserve for administrators.
logsource:
  category: webserver
detection:
  selection_path:
    cs-uri-stem|contains:
      - '/geoserver/'
  selection_op:
    cs-uri-query|contains:
      - 'request=CreateStoredQuery'
      - 'request=DropStoredQuery'
  condition: selection_path and selection_op
falsepositives:
  - Administrators managing stored queries from known addresses
level: medium
---
title: New file in a GeoServer WFS stored query folder
status: experimental
description: Flags files written to the wfs/query folders of the GeoServer data directory, which hold stored queries.
logsource:
  product: linux
  category: file_event
detection:
  selection:
    TargetFilename|contains:
      - '/wfs/query/'
  condition: selection
falsepositives:
  - Planned stored query changes by administrators
level: medium
A starting point to tune against your own telemetry, not a production rule.

Beyond the proxy, two host side checks are worth running on any GeoServer that was exposed. Look at the data directory's stored query folders for files with creation times nobody can explain. And look at administrator sessions: a remember-me login for an administrator, from an address that has never used the admin console, around the time of the probing, is the trace step four leaves.

If you find a stored query you did not create, do not just delete it. Copy it, note its timestamps, and treat the server as compromised until you know what happened in the window between that file and the upgrade.

Who runs GeoServer and why it keeps getting hit

SecurityWeek describes it as an application government agencies widely use and utilities also deploy. Eye Security says it is commonly used by government institutions to publish open data, and counts more than 3,000 internet accessible instances.

Planning departments, utilities, environmental agencies and transport authorities publish maps on purpose. Their map services are meant to be reached by the public, which is why so many of them answer on the internet with anonymous access turned on. Anonymous access is also the condition under which step three echoes file contents back. The configuration that makes a GeoServer useful to citizens is the one that makes this chain work best.

The history is not encouraging. Eye Security notes that a SQL injection flaw in GeoServer was exploited in the wild in August 2026 before a patch existed, and that in 2025 an unnamed US government agency was breached through a GeoServer vulnerability. That is three exploitation stories about the same product in little more than a year.

The value is not just the map. A GeoServer usually connects to the databases that hold its layers, often a PostGIS server with credentials stored in the data directory. It may sit on an internal network with a route to other systems, which is what makes the server side request forgery in step three more than a curiosity: a request from GeoServer can reach things the internet cannot. Our cloud metadata endpoint review covers what that kind of request finds when the server runs in AWS, Azure or GCP.

The pattern rhymes with the Drupal installer flaw we covered on 25 Nov, which CISA listed in the same batch: a widely deployed open source web platform, run by teams who are not security teams, with a fix that shipped before most of its users heard about the problem.

How we test map servers on an engagement

On external tests we look for GeoServer by what it answers, not by its banner. Map services announce themselves through their capabilities documents, and a single domain often has several: the public map, a staging copy, and the one a contractor set up for a project that ended. Our external recon walkthrough covers how we build that list from a domain, and atarus-recon, our open source recon tool, maps what an organization exposes before we look at any single host.

For each instance we find, we answer three questions with the access the client grants us. Which release is it on, and is it one of the fixed builds? Which services and layers are open to anonymous users? And what does the data directory hold that would matter if it were read: the remember-me key, administrator digests, database connection details. That third question is usually where the finding is. Our file read checks describe how we prove the impact of a read without pulling data a client would not want copied.

On internal tests and assumed breach work, the question turns around. We look at what the GeoServer's stored database credentials can reach, whether the admin console is open to the whole network, and whether its administrator password appears anywhere else. Our exposed admin endpoint checks cover the console side.

We do not run this chain against a client's production map server to make the point. Confirming exposure means confirming the release, the anonymous services and the remember-me configuration. Proving impact means showing what a read of the data directory would give up, which we can demonstrate on a copy or with the client's own files, without touching the public service residents depend on.

What to do today

  1. Upgrade every GeoServer to 3.0.2, 2.28.6 or 2.27.7. One release fixes all five steps, and two of them are on CISA's exploited list. Check staging and forgotten project instances, not just the public one.

  2. Change administrator passwords on any server that faced the internet on an affected build. The upgrade replaces the remember-me key but cannot take back a password digest that was already read.

  3. Look in wfs/query and workspaces/*/wfs/query for stored queries nobody created. If you find one, preserve it and treat the host as compromised.

  4. Block service parameters containing a slash at the proxy, in the URL and the XML body. It is GeoServer's own mitigation for CVE-2026-129243 and costs nothing to keep after the upgrade.

  5. Restrict the admin console and the REST API to trusted networks. GeoServer recommends limiting /rest/resource and /rest/security; most public map servers do not need either open to the internet.

  6. Hunt in the proxy logs for the three signals above. The Detection block is a starting point.