GeoServer: Unauthenticated WFS GetFeatureById XML injection
CVE-2026-120705Published 30 Nov 2026, 17:39 UTC
Exploited in the wild
CISA added it to the Known Exploited Vulnerabilities list on 27 Nov 2026; US federal agencies must fix it by 30 Nov 2026.
Real-world risk
8.0/ 10High
Act now: it is being exploited.
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.6
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
GeoServer is an open source server that allows users to share and edit geospatial data. Prior to "org.geoserver:gs-wfs-core" versions 2.27.7, 2.28.6, and 3.0.2 and prior to "org.geotools:gt-metadata" versions 33.7, 34.6, and 35.2, 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. This issue has been patched in "org.geoserver:gs-wfs-core" versions 2.27.7, 2.28.6, and 3.0.2 and "org.geotools:gt-metadata" versions 33.7, 34.6, and 35.2.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| geoserverCommon | < 33.7; >= 34.0, < 34.6; >= 35.0, < 35.2; < 2.27.7; >= 2.28.0, < 2.28.6; >= 3.0.0, < 3.0.2 | 33.7, 34.6, 35.2, 2.27.7, 2.28.6, 3.0.2 |
What to do
Update to a fixed version: 33.7, 34.6, 35.2, 2.27.7, 2.28.6, 3.0.2.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T5: Exploited in the wild (× 1.00)
On CISA KEV or VulnCheck KEV, flagged exploited by ENISA's EUVD, CISA's SSVC says active, or the vendor's or CNA's own page says it is exploited
- On CISA’s Known Exploited Vulnerabilities list
- CISA SSVC: exploitation active
EPSS 22.7% chance of exploitation in 30 days (percentile 98), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T5: Exploited in the wild1.000
- 10 × impact 0.8 × prerequisites 1 × threat 18.000
- Rounded to one decimal between 0.1 and 108.0
Exploitation and evidence timeline
- 27 Nov 2026 Added to CISA KEV
- 30 Nov 2026 Published
- 3 Dec 2026 CISA SSVC: exploitation active first seen
- 3 Dec 2026 Risk 8.0 (cvss fallback)
Weakness
CWE-91
References
- https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47vendor-advisory
- https://github.com/geoserver/geoserver/pull/9928misc
- https://github.com/geoserver/geoserver/releases/tag/2.27.7misc
- https://github.com/geoserver/geoserver/releases/tag/2.28.6misc
- https://github.com/geoserver/geoserver/releases/tag/3.0.2misc
- https://osgeo-org.atlassian.net/jira/browse/GEOS-12199misc
- https://osgeo-org.atlassian.net/jira/browse/GEOT-7938misc
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-120705government-resource
- CVE-2026-120705 on CVE.org