CVE-2026-120705
JSON

8.6highExploited

GeoServer: Unauthenticated WFS GetFeatureById XML injection

Severity
8.6high CVSS:3.1 by GitHub_M
Exploit likelihood
21.2% (higher than 97% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
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.2CVE List
osgeo geoserverbefore 2.27.7, from 2.28.0 before 2.28.6, from 3.0.0 before 3.0.2NVD, CISA KEV
osgeo geotoolsbefore 33.7, from 34.0 before 34.6, from 35.0 before 35.2NVD

Classification

CWE-91CWE-611CWE-918

SSVC (CISA-ADP): exploitation active, automatable yes, technical impact partial.

What each source says

CVE List

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 KEV

OsGeo GeoServer contains an XML injection vulnerability that allows an unauthenticated remote attacker to cause the server to read local text files accessible to the GeoServer process or fetch attacker-specified HTTP or HTTPS URLs via a crafted ID parameter in the WFS 2.0 GetFeatureById stored query. This vulnerability can be chained with CVE-2026-129244, CVE-2026-129243, CVE-2026-129245, and CVE-2026-129242 to achieve unauthenticated remote code execution on an affected GeoServer instance.

References

https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47kev, vendor-advisory
https://github.com/geoserver/geoserver/pull/9928issue-tracking, patch
https://github.com/geoserver/geoserver/releases/tag/2.27.7release-notes
https://github.com/geoserver/geoserver/releases/tag/2.28.6release-notes
https://github.com/geoserver/geoserver/releases/tag/3.0.2release-notes
https://osgeo-org.atlassian.net/jira/browse/GEOS-12199issue-tracking, vendor-advisory
https://osgeo-org.atlassian.net/jira/browse/GEOT-7938issue-tracking
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-120705government-resource, third-party-advisory, us-government-resource
https://geoserver.org/vulnerability/2026/11/23/cve-update.htmlkev
https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-riskkev
https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-riskkev
https://nvd.nist.gov/vuln/detail/CVE-2026-120705kev

Sources

SourceRecordLicence
CVE ListCVE-2026-120705 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-120705 changed 2026-11-30Public domain
CISA KEVCVE-2026-120705 changed 2026-11-27CC0-1.0