# GeoServer CVE-2026-120705: KEV WFS Chain, Fix in 2.28.6

> CISA added GeoServer CVE-2026-120705 (WFS GetFeatureById XML injection) and CVE-2026-129243 (service security bypass via a prefixed service name) to KEV on 2026-11-27. Both are fixed in GeoServer 3.0.2, 2.28.6 and 2.27.7, released 2026-10-19. What the records say, the five-step chain, and what to check.

- URL: https://firewallsync.com/posts/geoserver-cve-2026-120705-cve-2026-129243-kev-wfs-chain-fixed-versions/
- Site: FirewallSync (https://firewallsync.com/)
- Topic: AppSec & APIs
- Tags: geoserver, cve-2026-120705, cve-2026-129243, cisa kev, wfs, xml injection, patch management
- Published: 2026-12-01
- Author: Craig Leslie

## Key takeaways

- CISA added CVE-2026-120705 and CVE-2026-129243 to KEV on 2026-11-27 with a dueDate of 2026-11-30, three days later. KEV's knownRansomwareCampaignUse is 'Unknown' for both.
- CVE-2026-120705: the WFS 2.0 stored query GetFeatureById substituted the caller's ID into an XML template without escaping and parsed it without GeoServer's entity resolver, so an unauthenticated caller could inject XML including xi:include. CVSS 3.1 8.6.
- CVE-2026-129243: a prefixed service parameter such as service=x/WFS was routed to WFS, but service security checked the unresolved name, so role-restricted operations ran without a role check. CVSS 4.0 8.8.
- Fixed in GeoServer 3.0.2, 2.28.6 and 2.27.7 (released 2026-10-19). CVE-2026-120705 also needs the bundled GeoTools gt-metadata 35.2, 34.6 or 33.7, which those releases ship.
- GeoServer says both are steps 2 and 3 of a five-CVE chain to unauthenticated remote code execution. As of 2026-12-01 05:00 UTC, the CVE records for the other three steps were not yet in cvelistV5.



**Short answer:** CISA added two GeoServer bugs to the Known Exploited Vulnerabilities catalog on **2026-11-27**: **CVE-2026-120705**, an unauthenticated XML injection in the WFS 2.0 `GetFeatureById` stored query, and **CVE-2026-129243**, a service security bypass using a prefixed service name such as `service=x/WFS`. Both are fixed in **GeoServer 3.0.2, 2.28.6 and 2.27.7**, released on 2026-10-19. If you run an older build, update now; KEV's due date for federal agencies was 2026-11-30.

GeoServer's own write-up says the two are steps in a five-CVE chain that ends in unauthenticated remote code execution. That makes this worth treating as an RCE patch even though neither CVE is scored as one on its own.

## What CISA's KEV entries say

| Field | CVE-2026-120705 | CVE-2026-129243 |
|---|---|---|
| `vendorProject` / `product` | OSGeo / GeoServer | OSGeo / GeoServer |
| `dateAdded` | 2026-11-27 | 2026-11-27 |
| `dueDate` | 2026-11-30 | 2026-11-30 |
| `knownRansomwareCampaignUse` | Unknown | Unknown |
| `cwes` | CWE-91, CWE-611, CWE-918 | CWE-863 |

KEV's `shortDescription` for CVE-2026-120705 says it "allows an unauthenticated remote attacker to cause the server to read local text files accessible to the GeoServer process or fetch attacker-specified HTTP or HTTPS URLs via a crafted ID parameter in the WFS 2.0 GetFeatureById stored query." For CVE-2026-129243 it says the bug "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." Both descriptions add that the bug "can be chained with" the other four CVEs "to achieve unauthenticated remote code execution."

The three-day deadline matches the shortest BOD 26-04 window we found in the [KEV dueDate analysis](/posts/kev-duedate-days-after-dateadded-3-14-21-day-deadlines/). The `requiredAction` text is the standard BOD 26-04 wording; the [requiredAction guide](/posts/kev-requiredaction-text-variants-ticket-actions-bod-26-04/) shows how to map it to a ticket.

## What the CVE records say

Both records were published by the GitHub CNA (`GitHub_M`) on 2026-11-30, three days after the KEV listing: the [gap between CVE publication and KEV listing](/posts/kev-time-to-listing-cve-published-to-dateadded-days-by-vendor/) can run in either direction.

**CVE-2026-120705** (CWE-91, CVSS 3.1 `AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`, 8.6 High). The record says GeoServer "exposes the built-in WFS 2.0 stored query urn:ogc:def:query:OGC-WFS::GetFeatureById through the public GetFeature operation. The stored query substituted the caller's ID parameter into an XML template without escaping, then parsed the result without GeoServer's entity resolver. An unauthenticated caller could inject XML, including an xi:include, into the query." The fix is in `org.geoserver:gs-wfs-core` 2.27.7, 2.28.6 and 3.0.2 and in `org.geotools:gt-metadata` 33.7, 34.6 and 35.2.

**CVE-2026-129243** (CWE-863, 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`, 8.8 High). The record says "a service parameter with a prefix, such as service=x/WFS, was resolved to the WFS service by the dispatcher, but service security checked the unresolved name x/WFS. No rule matched, so operations restricted in service security ran without a role check." It adds: "The default configuration restricts CreateStoredQuery and DropStoredQuery to administrators, so anonymous users could create and delete WFS stored queries." The fix is in `org.geoserver:gs-ows` 2.27.7, 2.28.6 and 3.0.2.

The CISA-ADP container in both records carries the same SSVC decision points: `Exploitation: active`, `Automatable: yes`, `Technical Impact: partial`. The [Vulnrichment SSVC guide](/posts/cisa-vulnrichment-how-to-read-ssvc-values-in-a-cve-record-and-turn-them-into-a-patch-decision/) explains how to turn those values into a patch decision.

### Affected and fixed versions

| Branch | Affected (CVE record) | Fixed release | GeoTools in the fixed release |
|---|---|---|---|
| 3.0.x (stable) | >= 3.0.0, < 3.0.2 | 3.0.2 | 35.2 |
| 2.28.x (maintenance) | >= 2.28.0, < 2.28.6 | 2.28.6 | 34.6 |
| 2.27.x and older | < 2.27.7 | 2.27.7 | 33.7 |

The GeoTools column comes from GeoServer's release posts (2.28.6 "includes GeoTools 34.6"; 3.0.2 ships 35.2 and 2.27.7 ships 33.7), and matches the gt-metadata fix versions in the CVE-2026-120705 record. GeoServer Cloud 2.28.6 was released alongside it.

One data quirk for scanner and SBOM matching: the CVE-2026-120705 record puts both version series under `product: "geoserver"`, so the GeoTools bounds (`< 33.7`, `>= 34.0, < 34.6`, `>= 35.0, < 35.2`) sit next to the GeoServer ones. A tool that compares a GeoServer version string such as `2.28.5` against `< 33.7` will wrongly report it as affected by that row. It is affected, but through the GeoServer bound, not the GeoTools one. If you match Maven components, match `gs-wfs-core`, `gs-ows` and `gt-metadata` by package name instead.

## The five-step chain

GeoServer's [November 2026 security update](https://geoserver.org/vulnerability/2026/11/23/cve-update.html) says CVE-2026-129245 "was initially reported as step 4 of a chain leading to remote code execution. At the direction of the CVE Numbering Authority the other steps were each assigned their own CVE number":

| Step | CVE | GeoServer's description | Severity (GeoServer) | In KEV? |
|---|---|---|---|---|
| 1 | CVE-2026-129244 | WFS stored query exception discloses data directory path | Medium | No |
| 2 | CVE-2026-129243 | Service security rules bypassed with a prefixed service name such as x/WFS | High | Yes |
| 3 | CVE-2026-120705 | Unauthenticated WFS GetFeatureById XML injection | High | Yes |
| 4 | CVE-2026-129245 | Predictable remember-me key allows administrator session forgery | Critical | No |
| 5 | CVE-2026-129242 | Deserialization in JDBC user and role services allows administrator code execution | High | No |

When we checked cvelistV5 on 2026-12-01 at about 05:00 UTC, the records for CVE-2026-129244, CVE-2026-129245 and CVE-2026-129242 were not yet published, so there are no CVSS or SSVC values for them yet. The Critical-rated step 4 is not in KEV. All five are fixed by the same October releases, so the patch decision does not depend on which ones CISA lists.

GeoServer's 2.28.6 release post lists 14 other CVEs fixed in the same October releases, including unauthenticated SSRF in two WPS extensions and source-IP rule bypasses via `X-Forwarded-For` in GeoFence and the ACL plugin. The full list is in GeoServer's 2.28.6 release post.

## What to do

1. **Find every GeoServer instance.** Include GeoServer Cloud, containers built on GeoServer images and products that embed it. Check the version on the server status page or the `geoserver-*.jar`/`gs-*.jar` versions in `WEB-INF/lib`.
2. **Update to 3.0.2, 2.28.6 or 2.27.7** (or later). GeoServer says 3.0.x is the current stable series and 2.28.x the maintenance series, and asks users to "upgrade to a supported release at least once a year to continue receiving security fixes."
3. **Do not rely on WFS service security rules as your only control** until you are patched. CVE-2026-129243 bypasses exactly those rules. Our suggestion, not a vendor workaround: if the instance does not need to be public, restrict it to known networks at the reverse proxy or firewall.
4. **Treat exposed, unpatched instances as possibly compromised.** KEV says exploitation is active, and step 4 of the chain forges an administrator session. After updating, review administrator accounts, stored queries and security service configuration for changes you did not make. This is our recommendation; GeoServer has not published incident-response guidance for these CVEs.

### What to look for in logs

The following are hunting ideas derived from the CVE descriptions, not published indicators of compromise. Search reverse-proxy and GeoServer request logs from before your update for:

- `service=` values containing a slash, such as `service=x/WFS`, which normal clients do not send.
- `CreateStoredQuery` or `DropStoredQuery` requests from unauthenticated clients.
- `GetFeature` requests using the `urn:ogc:def:query:OGC-WFS::GetFeatureById` stored query with markup such as `xi:include` or `<` in the `ID` parameter (URL-encoded as `%3C`).

## Limits of this article

- We did not test exploitation or the fixes. Everything above comes from the CVE records, the KEV catalog and GeoServer's posts.
- CISA's KEV entries do not say who is exploiting these bugs or how. Reports from third parties naming a campaign are not covered here because we could not confirm them against a primary source.
- The three unpublished CVE records may add details, scores or affected ranges when they appear.

## Sources and verification

| Important claim | Source | Status |
|---|---|---|
| KEV dateAdded 2026-11-27, dueDate 2026-11-30, ransomware Unknown, cwes, shortDescription quotes | [CISA KEV JSON, catalog 2026.11.27](https://github.com/cisagov/kev-data) | Verified |
| CVE-2026-120705 description, CVSS 3.1 8.6, fixed packages and versions | [CVE-2026-120705 record](https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/120xxx/CVE-2026-120705.json), [GHSA-39mw-5chv-jh47](https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47) | Verified |
| CVE-2026-129243 description, CVSS 4.0 8.8, default CreateStoredQuery restriction | [CVE-2026-129243 record](https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/129xxx/CVE-2026-129243.json), [GHSA-rv5g-g2r9-58rj](https://github.com/geoserver/geoserver/security/advisories/GHSA-rv5g-g2r9-58rj) | Verified |
| CISA-ADP SSVC: active / yes / partial for both | CISA-ADP containers in both records | Verified |
| Five-step chain, step names and severities | [GeoServer Security Update - November 2026](https://geoserver.org/vulnerability/2026/11/23/cve-update.html) | Verified |
| 2.28.6 released 2026-10-19 with GeoTools 34.6; GeoServer Cloud 2.28.6 | [GeoServer 2.28.6 release post](https://github.com/geoserver/geoserver.github.io/blob/main/_posts/2026-10-19-geoserver-2-28-6-released.md) | Verified |
| Steps 1, 4 and 5 had no published CVE record at 05:00 UTC 2026-12-01 | cvelistV5 main (HTTP 404 for the three paths) | Verified at time of check |
| Log hunting patterns | Derived from CVE descriptions | Qualified (editorial) |

## Frequently asked questions

### Which GeoServer versions fix CVE-2026-120705 and CVE-2026-129243?

GeoServer 3.0.2, 2.28.6 and 2.27.7, all released on 2026-10-19. The CVE records list affected ranges as < 2.27.7, >= 2.28.0 < 2.28.6 and >= 3.0.0 < 3.0.2. CVE-2026-120705 is also tied to GeoTools gt-metadata before 33.7, 34.6 and 35.2; GeoServer 2.28.6 ships GeoTools 34.6.

### Are the GeoServer KEV vulnerabilities being exploited?

Yes, according to CISA. Both CVEs were added to the Known Exploited Vulnerabilities catalog on 2026-11-27, and the CISA-ADP SSVC data in each CVE record reads Exploitation: active, Automatable: yes, Technical Impact: partial. CISA has not published who is exploiting them or how in the KEV entries.

### What is the GeoServer five-step RCE chain?

GeoServer's 2026-11-23 security post says one report described a chain that was split into five CVEs: CVE-2026-129244 (stored query error discloses the data directory path), CVE-2026-129243 (service security bypass), CVE-2026-120705 (GetFeatureById XML injection), CVE-2026-129245 (predictable remember-me key allows administrator session forgery) and CVE-2026-129242 (deserialization in JDBC user and role services). All five are fixed in the October releases.

### Is GeoServer CVE-2026-120705 the same as CVE-2024-36401?

No. CVE-2024-36401 is an older GeoServer bug that KEV lists as 'OSGeo GeoServer GeoTools Eval Injection Vulnerability'. CVE-2026-120705 is a new XML injection in the WFS GetFeatureById stored query, fixed in the October 2026 releases. KEV catalog 2026.11.27 contains five GeoServer CVEs in total.


Image credit: Photo by [Annie Spratt](https://unsplash.com/photos/Uk3t05ndSng) on Unsplash
