Skip to content
Blog

OSGeo · GeoServer · GeoTools

GeoServer in CISA KEV: CVE-2026-120705 (WFS XML injection) and CVE-2026-129243 (authorization bypass)

Two GeoServer flaws added to CISA KEV: unauthenticated XML injection in the WFS GetFeatureById stored query and a bypass of service-level security rules.

4 min readCVE-2026-120705CVE-2026-129243

The GeoServer project published a security update covering several vulnerabilities on November 23, 2026. Four days later, on November 27, CISA added two of them to the Known Exploited Vulnerabilities catalog: CVE-2026-120705 and CVE-2026-129243. Federal agencies were given until November 30 — three days.

The short deadline makes sense once you read CISA's note: each flaw can be chained with three other CVEs from the same advisory — CISA lists them, NVD hasn't published them yet — to reach unauthenticated remote code execution on a GeoServer instance.

GeoServer is the open source map server behind a lot of GIS portals run by local governments, public agencies and utilities. It tends to be internet-facing by design: serving maps is the whole point.


The two vulnerabilities

CVE-2026-120705CVE-2026-129243
TypeXML injection (CWE-91)Incorrect authorization (CWE-863)
ComponentWFS 2.0 stored query GetFeatureByIdOWS dispatcher / service security
CVSS 3.18.6 (HIGH), from GitHub (CNA)8.6 (HIGH), from NVD
CVSS 4.0not published8.8 (HIGH), from GitHub (CNA)
Authenticationnonenone
Added to CISA KEV2026-11-272026-11-27
CISA due date2026-11-302026-11-30

Vectors: CVE-2026-120705 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N; CVE-2026-129243 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L (NVD) and CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N (GitHub).

CVE-2026-120705: an ID parameter dropped into an XML template

GeoServer exposes the built-in WFS 2.0 stored query urn:ogc:def:query:OGC-WFS::GetFeatureById through the public GetFeature operation. According to NVD, the caller's ID parameter was substituted into an XML template without escaping, and the result was parsed without GeoServer's entity resolver.

So an anonymous caller could inject XML into the query, including an xi:include. CISA's entry spells out what that buys an attacker: the server can be made to read local text files the GeoServer process can access, or to fetch HTTP or HTTPS URLs of the attacker's choosing. File disclosure and SSRF in one bug — which is what the S:C (changed scope) in the vector reflects.

The fix spans two libraries: org.geoserver:gs-wfs-core and org.geotools:gt-metadata.

CVE-2026-129243: service=x/WFS

GeoServer's dispatcher resolved a prefixed service parameter such as service=x/WFS to the WFS service. The service security layer, however, checked the unresolved name x/WFS. No rule matched, so restricted operations ran without any role check.

NVD gives the default-configuration impact: CreateStoredQuery and DropStoredQuery are limited to administrators, so anonymous users could create and delete WFS stored queries.

Why they fit together

CISA does not describe the exploit chain. Read side by side, though, the two descriptions line up: one bug lives in a stored query, the other lets anyone create stored queries. That is our inference, not published information — check the project advisory for how the chain uses the three other CVEs CISA lists.


Affected versions

ComponentAffected versions (NVD)First version outside the range
GeoServer, 2.27 branch and olderbelow 2.27.72.27.7
GeoServer, 2.28 branch2.28.0 to 2.28.52.28.6
GeoServer, 3.0 branch3.0.0 to 3.0.13.0.2
GeoTools (gt-metadata, CVE-2026-120705)below 33.7, 34.0 to 34.5, 35.0 to 35.133.7, 34.6, 35.2

⚠️ These are the version bounds from NVD — the releases the project lists as fixing these two CVEs. Because the November 23 update covers other bugs in the chain too, pick the version recommended in the GeoServer advisory and the GitHub advisories GHSA-39mw-5chv-jh47 and GHSA-rv5g-g2r9-58rj.

Applications that embed GeoTools without GeoServer may be exposed to CVE-2026-120705 if they use the same stored-query mechanism: check the gt-metadata version in your dependency tree.


Detection

  • In access logs, GetFeature requests with STOREDQUERY_ID=urn:ogc:def:query:OGC-WFS::GetFeatureById whose ID parameter carries XML (<, xi:include, file:, http), usually URL-encoded
  • service= parameters containing a / or an unexpected prefix
  • Unauthenticated CreateStoredQuery or DropStoredQuery calls, or stored queries nobody on your team created (ListStoredQueries)
  • Outbound connections from the GeoServer host to unknown destinations
  • The KEV entry also points to the forensic triage requirements of BOD 26-04: patching alone is not enough if the instance was exposed

Mitigation

  1. Upgrade to 2.27.7, 2.28.6 or 3.0.2 depending on your branch, or the newer release the advisory recommends.
  2. Until then, disable WFS if you don't use it; if you do, restrict WFS operations at the reverse proxy to the networks that need them.
  3. Reject at the reverse proxy any service value that isn't exactly WFS, WMS, WCS, WMTS or WPS.
  4. If the instance was exposed: review stored queries, look at which files the GeoServer process can read (database credentials in the data directory, for instance) and rotate the secrets they hold.

Why continuous monitoring matters for open source servers

GeoServer rarely shows up in a security team's asset list. It is usually installed by a GIS team, updated infrequently and published on the internet. One week passed between the project's advisory and CISA's deadline.

With cveo.tech, add GeoServer and its version to your inventory and get alerted as soon as a CVE affects it or lands in the CISA KEV catalog.

Know which CVEs hit the versions you run.

Add the product and its version: cveo.tech lists the CVEs that affect it right away, then alerts you by email when a new one affects it — including before NVD has finished its analysis. Free, an account is all it takes.

Every Monday

The week's critical CVEs, in your inbox

One email a week: the CVSS ≥ 9 vulnerabilities published in the last seven days, plus our latest analyses. Nothing else.

Double opt-in by email. Unsubscribe in one click, any time.