Skip to content
TrustList
Security advisories

GeoServer flaws from a five-step takeover chain are now exploited

Editorial

By TrustList Editorial

CISA lists two of the GeoServer bugs fixed on 23 November as exploited. Upgrading to 2.27.7, 2.28.6 or 3.0.2 closes all five steps of the chain, but stored queries an attacker created stay behind.

About GeoServer flaws from a five-step takeover chain are now exploited

GeoServer flaws from a five-step takeover chain are now exploited

27 November 2026: Two GeoServer flaws are being exploited: CVE-2026-120705, an unauthenticated XML injection in WFS that reads local files and fetches URLs from the server (CVSS 8.6), and CVE-2026-129243, which lets anonymous users get round service security rules. Both are fixed in GeoServer 2.27.7, 2.28.6 and 3.0.2, released with advisories on 23 November.

CISA added the pair to its Known Exploited Vulnerabilities catalogue on 27 November and gave US federal agencies until 30 November to patch. It is the third time GeoServer has been on that list, after CVE-2024-36401 in July 2024 and CVE-2025-58360 in December 2025.

How the chain fits together

The GeoServer advisories describe the two bugs as steps in a five-part chain that ends in unauthenticated remote command execution. At the request of the CVE numbering authority, each step got its own fix and its own CVE:

  1. CVE-2026-129244: a WFS stored query error reveals the data directory path.
  2. CVE-2026-129243: a prefixed service name such as service=x/WFS is routed to WFS, but security rules check the unresolved name, so no rule matches. With the default rules this lets anyone create and delete WFS stored queries.
  3. CVE-2026-120705: the built-in GetFeatureById stored query pasted the caller's ID into an XML template without escaping and parsed it without GeoServer's entity resolver, so an xi:include could read a file or fetch a URL. The content comes back in the error message when a layer is published to anonymous users.
  4. CVE-2026-129245, rated critical: the remember-me cookie is signed with a key that ships as geoserver and is rarely changed, so anyone holding that key and an administrator's password digest, both readable through step 3, can forge an admin session.
  5. CVE-2026-129242: deserialization in the JDBC user and role services gives an administrator code execution.

CISA has listed steps 2 and 3 so far. It does not say who is exploiting them.

Fixed versions

Component Fixed in
GeoServer 2.27.x 2.27.7
GeoServer 2.28.x 2.28.6
GeoServer 3.0.x 3.0.2
GeoTools (gt-metadata), for the XML injection 33.7, 34.6, 35.2

Applications that embed GeoTools rather than run GeoServer need the GeoTools release.

If an upgrade has to wait

The advisories give stopgaps for each step: block any request whose service parameter contains a slash at the proxy, in the query string and in XML request bodies; restrict WFS to signed-in users through service security, or turn it off if nothing uses it; and take rememberme out of the web filter chain. Changing the remember-me key alone does not help, because the same file read that exposes the password digest exposes the key.

The upgrade does not undo what an attacker may already have done. The advisory for CVE-2026-129243 asks administrators to look in the data directory's wfs/query and workspaces/*/wfs/query folders for stored queries they did not create.

Who runs GeoServer for clients

GeoServer sits behind many public map portals, often installed and maintained by GIS consultancies rather than in-house teams. Two firms in our catalogue name it among their services: thinkWhere, now part of Idox Geospatial, which offers commercial support and training for QGIS, PostGIS and GeoServer, and Geocrafter Geospatial Studio, which sets up and tunes GeoServer and MapServer. Clients of either, or of any firm hosting a WFS endpoint for them, can ask which release they are on and whether the stored query folders have been checked.

Sources

Categories & features

TrustList Weekly

The week in software and IT, in one email

The news that matters to buyers, new rankings and our own research. Every Thursday, free, and easy to leave.

We will email you to confirm. Unsubscribe with one click in any issue. Privacy policy

You may be interested in