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
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N · Attack vector: NetworkReferences (8)
| https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47 | Vendor Advisory |
| https://osgeo-org.atlassian.net/jira/browse/GEOS-12199 | Issue TrackingVendor Advisory |
| https://github.com/geoserver/geoserver/pull/9928 | Issue TrackingPatch |
| 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/GEOT-7938 | Issue Tracking |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-120705 | Third Party AdvisoryUS Government Resource |
A short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Learn about this vulnerability
CVSS vs EPSS vs CISA KEV: Understanding the DifferencesThree signals, three different questions. CVSS measures how bad a flaw could be, EPSS estimates how likely exploitation is, and KEV confirms attackers are already using it.Intermediate · 4-minute readWhat Is a CVE? A Beginner's Guide to VulnerabilitiesCVE IDs are the common names for publicly known security flaws. Learn who assigns them, what a CVE record contains, and what a CVE does and doesn't tell you.Beginner · 4-minute readHow to Check Whether Your Software Version Is Affected by a CVEA version match is a starting point, not a verdict. A step-by-step method to confirm exposure using advisories, version ranges and backport notes.Intermediate · 4-minute readIn the news
Headlines that mention CVE-2026-120705. Each opens on the publisher's site.
Track this software
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
+ Osgeo Geoserver+ Osgeo GeotoolsCISA KEV entry
OSGeo GeoServer XML Injection Vulnerability
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.
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.
Notes: https://geoserver.org/vulnerability/2026/11/23/cve-update.html ; https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47 ; BOD 26-04: https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk ; Forensics Triage Requirements: https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk ; https://nvd.nist.gov/vuln/detail/CVE-2026-120705