GeoServer CVE-2026-120705: WFS GetFeatureById XML injection
GeoServer and GeoTools versions: unescaped ID parameter, XInclude and SSRF, local file read, fixed releases and KEV verification.

As of November 30, 2026, CVE-2026-120705 is one of two GeoServer flaws CISA added to KEV on November 27, with a federal due date of November 30. The flaw is in the built-in WFS GetFeatureById stored query, where the caller’s ID value is inserted into an XML template without escaping. A single unauthenticated WFS request can read a local text file accessible to the GeoServer process, make a server-side request to an attacker-chosen HTTP or HTTPS URL, and return the fetched text in an error response. Below, the vendor advisory, project update, KEV fields and NVD query result are read separately, with no RCE or campaign claim.
Quick summary
| Field | Value |
|---|---|
| CVE | CVE-2026-120705 |
| Product | GeoServer org.geoserver:gs-wfs-core, GeoTools org.geotools:gt-metadata |
| Vendor advisory | GHSA-39mw-5chv-jh47, November 23, 2026, High |
| Affected GeoServer | <= 2.27.6; >= 2.28.0 and <= 2.28.5; >= 3.0.0 and <= 3.0.1 |
| Fixed GeoServer | 2.27.7, 2.28.6, 3.0.2 |
| Affected GeoTools | <= 33.6; >= 34.0 and <= 34.5; >= 35.0 and <= 35.1 |
| Fixed GeoTools | 33.7, 34.6, 35.2 |
| Weakness | CWE-91, CWE-611, CWE-918 |
| CVSS 3.1 | 8.6 HIGH, GitHub GHSA source; no NVD record |
| Impact | Unauthenticated local file read and SSRF, echoed in an error response |
| KEV | Added November 27, due November 30, forensicTriage: No, ransomware Unknown |
| Chain | Project update lists it as step 3 of an RCE chain |
Technical view
The advisory says GeoServer exposes the built-in WFS 2.0 stored query urn:ogc:def:query:OGC-WFS::GetFeatureById through the public GetFeature operation. StoredQuery.compile() substitutes the caller’s ${ID} token into the <fes:ResourceId rid='${ID}'/> template using plain string replacement, so quotes or angle brackets can break out of the attribute. The resulting XML is parsed with new Parser(new WFSConfiguration()) without the catalog entity resolver used elsewhere in the class. XInclude and external entities are therefore resolved with ordinary URI access.
The advisory’s impact section lists three results from one unauthenticated WFS request: read a local text file readable by the GeoServer process, make a server-side request to an attacker-selected HTTP or HTTPS URL, and see the fetched text in the Illegal property name error response. No custom stored query or CreateStoredQuery access is needed. Contents are echoed only when the layer is published to anonymous users; otherwise the file is still read but not returned. That distinction does not support a claim that every installation leaks data.
The interim mitigation is to restrict WFS for anonymous users through service security or disable the service if it is not needed. The permanent fix makes stored-query parsing use the GeoServer entity resolver, and GeoTools PreventLocalEntityResolver checks redirects. Fixed releases are GeoServer 2.27.7, 2.28.6 and 3.0.2, and GeoTools 33.7, 34.6 and 35.2. Upgrading only the GeoServer application while leaving an embedded GeoTools version behind can leave the fix incomplete; the advisory lists separate ranges for both packages.
GeoServer’s November 23 update describes this CVE as step 3 of a chain whose parts received separate CVE IDs: data-directory path disclosure (CVE-2026-129244), service-rule bypass (CVE-2026-129243), this XML injection (CVE-2026-120705), a predictable remember-me key (CVE-2026-129245) and JDBC deserialization (CVE-2026-129242). The source describes the chain as a whole; the KEV entry records exploitation of this CVE. There is no single-CVE RCE claim in the sources.
In the KEV entry, dateAdded is 2026-11-27, dueDate is 2026-11-30, knownRansomwareCampaignUse is Unknown, forensicTriage is No and threatActors is empty. The November 27 alert says the additions were based on evidence of active exploitation, but no actor, victim, IOC or campaign is named. The 8.6 CVSS 3.1 value appears on the GHSA page with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N. On November 30, a NVD API query for cveId=CVE-2026-120705 returned totalResults: 0, so there is no NVD score or SSVC data. The attack surface is the WFS GetFeature request and its ID parameter; the records name no port or network position.
What to do
- Upgrade both packages. Move GeoServer to 2.27.7, 2.28.6 or 3.0.2 and GeoTools to 33.7, 34.6 or 35.2.
- Restrict anonymous WFS. Use service security to block anonymous WFS access, or disable the service if it is unused.
- Inventory installations. Check both the GeoServer version and the embedded GeoTools version; the application version alone is not enough.
- Close the whole chain. Include the other four CVEs from the same security update in the patch plan.
- Respect the CISA deadline. The federal due date is November 30; other organizations can use it as a prioritization reference.
- Search your own logs. No real IOC was published for this flaw; looking for unusual WFS requests in local access logs is a suggestion here, not a vendor indicator.
What not to claim
- Do not say a single CVE yields RCE. The advisory describes local file read and SSRF; RCE belongs to the multi-step chain.
- Do not say NVD assigned 8.6. The score is GHSA-sourced and the NVD query returned no record.
- Do not say every installation leaks files. Response echo depends on the layer being published to anonymous users.
- Do not say ransomware is confirmed. The KEV field is
Unknownand there is no actor or IOC data. - Do not say forensic triage is mandatory. This entry has
forensicTriage: No. - Do not claim a specific port was targeted. No port or network position is given.
- Do not say a PoC is circulating. The advisory explains the request mechanism and makes no such claim.
Status
As of November 30, 2026, CVE-2026-120705 is verified through the GeoServer GitHub advisory GHSA-39mw-5chv-jh47, the project’s November 23 security update and the CISA KEV JSON. CISA added it on November 27 based on evidence of active exploitation, with a November 30 federal due date. Affected and fixed GeoServer and GeoTools ranges and the 8.6 CVSS 3.1 value were read directly from the advisory. The NVD API returned no record, so there is no NVD score or SSVC data.
The open questions are clear: no actor, victim, IOC or campaign is named; no port or network position is given; there is no evidence that the full chain was run in the wild; response echo depends on anonymous layer publication; and NVD analysis is still absent. The ID parameter is a technical detail from the advisory, not a verified IOC. This article limits the exploitation claim to the KEV record and makes no RCE or ransomware claim.
From this series
- Apache Axis 1.x CVE-2026-90436: EOL but KEV-listed SOAP fault flaw
- CISA BOD 26-04: SSVC and deadlines over CVSS labels
- Xen Orchestra CVE-2026-133469: admin login via empty object token