GeoServer
GeoServer: Unauthenticated WFS GetFeatureById XML injection
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 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
Fixed in 33.7, 34.6, 35.2, 2.27.7, 2.28.6, 3.0.2
Mitigation
Upgrade geoserver to 33.7 or 34.6 or 35.2 or 2.27.7 or 2.28.6 or 3.0.2 or later.
References
- Vendor advisory github.com/geoserver/geoserver/security/adviso…
- Patch github.com/geoserver/geoserver/pull/9928
- Release notes github.com/geoserver/geoserver/releases/tag/2.…
2 more
- Release notes github.com/geoserver/geoserver/releases/tag/2.…
- Release notes github.com/geoserver/geoserver/releases/tag/3.…
Timeline
Days relative to CVE publicationFirst public PoC 17 h after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-120705 (created 1 Dec 2026, found by us: 1 Dec 2026).
PoC repositories
Found on GitHub.1 PoCs · 1 pending
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-120705 | 1 Dec 2026 +17 h | 1 Dec 2026 | 0 | PoC |
Pending 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| Yxuan18/geoserver3_rce | 25 Nov 2026 −5.5 d | 1 Dec 2026 | 0 | Pending · listed by PoC Index; via PoC Index |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.