HIGH · 8.6
CVE-2026-120705
GeoServer: Unauthenticated WFS GetFeatureById XML injection
Other identifiers: GHSA-39MW-5CHV-JH47
Description
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.
Details
- Severity
- HIGH 8.6
- KEV
- in the catalog since 2026-11-27, due 2026-11-30
- Fix
- available
- Published
- First seen
- Updated
CVSS scores
| Version | Score | Severity | Vector | Source |
|---|---|---|---|---|
| 3.1 | 8.6 | high | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N | cve.org |
| 3.1 | 8.6 | high | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N | nvd |
Affected products
| Product | Versions | Fixed in |
|---|---|---|
| osgeo / geoserver | ||
| geoserver / geoserver | =< 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 | |
| osgeo / geoserver | <2.27.7 | |
| osgeo / geoserver | >=2.28.0 <2.28.6 | |
| osgeo / geoserver | >=3.0.0 <3.0.2 | |
| osgeo / geotools | <33.7 | |
| osgeo / geotools | >=34.0 <34.6 | |
| osgeo / geotools | >=35.0 <35.2 |
Sources
- cisa-kev · license: CC0 1.0 (CISA) · first seen · https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- cve.org · license: CVE Terms of Use · first seen · https://www.cve.org/CVERecord?id=CVE-2026-120705
- nvd · license: Public domain (NIST NVD) · first seen · https://nvd.nist.gov/vuln/detail/CVE-2026-120705
- osv · license: CC-BY-4.0 · first seen · https://osv.dev/vulnerability/CVE-2026-120705
Timeline
- UPDATED (10 hours ago)affected_added: [map[ecosystem: product:geotools vendor:osgeo]]
- FIX (11 hours ago)fix: unknown → available
- UPDATED (13 hours ago)affected_added: [map[ecosystem: product:geoserver vendor:geoserver]]
- SCORE (13 hours ago)severity: unknown → high
- NEW (1 day ago)