CVE-2026-120705 GeoServer: Unauthenticated WFS GetFeatureById XML injection
- Published
- Updated
- Exploit status
- Exploited in the wild (confirmed)
- CISA SSVC
- Actively exploited · automatable: yes · technical impact: partial
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.
CISA Known Exploited Vulnerability
- Date added
- 2026-11-27
- Due date (FCEB)
- 2026-11-30
- Ransomware use
- Unknown
Required action
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| osgeo geoserver | < 2.27.7; >= 2.28.0, < 2.28.6; >= 3.0.0, < 3.0.2 | 2.27.7, 2.28.6, 3.0.2 | Fixed |
| osgeo geotools | < 33.7; >= 34.0, < 34.6; >= 35.0, < 35.2 | 33.7, 34.6, 35.2 | Fixed |
| geoserver | = < 2.27.7; = < 33.7; = >= 2.28.0, < 2.28.6; = >= 3.0.0, < 3.0.2 +2 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| geoserver | = < 33.7 | No fix listed |
| geoserver | = >= 34.0, < 34.6 | No fix listed |
| geoserver | = >= 35.0, < 35.2 | No fix listed |
| geoserver | = < 2.27.7 | No fix listed |
| geoserver | = >= 2.28.0, < 2.28.6 | No fix listed |
| geoserver | = >= 3.0.0, < 3.0.2 | No fix listed |
| osgeo geoserver | < 2.27.7 | 2.27.7 |
| osgeo geoserver | >= 2.28.0, < 2.28.6 | 2.28.6 |
| osgeo geoserver | >= 3.0.0, < 3.0.2 | 3.0.2 |
| osgeo geotools | < 33.7 | 33.7 |
| osgeo geotools | >= 34.0, < 34.6 | 34.6 |
| osgeo geotools | >= 35.0, < 35.2 | 35.2 |
References
- CISA Adds Three Known Exploited Vulnerabilities to Catalog vendor-advisory
- https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47 vendor-advisory
- https://github.com/geoserver/geoserver/pull/9928 issue-tracking patch
- https://github.com/geoserver/geoserver/releases/tag/2.27.7 release-notes
- https://github.com/geoserver/geoserver/releases/tag/2.28.6 release-notes
- https://github.com/geoserver/geoserver/releases/tag/3.0.2 release-notes
- https://osgeo-org.atlassian.net/jira/browse/GEOS-12199 issue-tracking vendor-advisory
- https://osgeo-org.atlassian.net/jira/browse/GEOT-7938 issue-tracking
- www.cisa.gov government-resource third-party-advisory us-government-resource
- ENISA EUVD EUVD-2026-139618 third-party-advisory