Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
8.6
CVE-2026-120705: GeoServer can read files or fetch URLs via XML injection
CVE-2026-120705 · published 2 days ago · actively exploited
Summary
GeoServer allows an unauthenticated attacker to trick the system into reading local text files or retrieving external web pages by sending a specially crafted request. This can be combined with other weaknesses to let the attacker run code on the server. Apply the vendor's latest security patches or upgrade to a patched version as soon as possible.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| osgeo | geoserver |
< 2.27.7 >= 2.28.0, < 2.28.6 >= 3.0.0, < 3.0.2 |
| geoserver | geoserver | < 33.7 |
| osgeo | geotools |
< 33.7 >= 34.0, < 34.6 >= 35.0, < 35.2 cpe:2.3:a:osgeo:geotools:*:*:*:*:*:*:*:* |
Original advisory text
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.
References
- https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47 Vendor Advisory
- https://github.com/geoserver/geoserver/pull/9928 Patch
- https://github.com/geoserver/geoserver/releases/tag/2.27.7 URL
- https://github.com/geoserver/geoserver/releases/tag/2.28.6 URL
- https://github.com/geoserver/geoserver/releases/tag/3.0.2 URL
- https://osgeo-org.atlassian.net/jira/browse/GEOS-12199 URL
- https://osgeo-org.atlassian.net/jira/browse/GEOT-7938 URL
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-... URL
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-1207... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-120705 Vendor Advisory
Internet-facing
3 days
Internal
14 days
- Known to be exploited
- Can be exploited automatically
- Gives an attacker partial control
Severity
8.6
High
Known exploited
Listed in the CISA KEV catalogue - exploitation confirmed in the wild.
21%
chance of attack within 30 days
Type
CWE-91XML Injection (aka Blind XPath Injection)
Timeline
Published30 Nov 2026
Updated2 Dec 2026
First seen27 Nov 2026
Sources
CVE-2026-120705 · CISA KEV
CVE-2026-120705 · NVD
CVE-2026-120705 · MITRE
CVE-2026-120705 · OSV
GHSA-39mw-5chv-jh47 · GHSA
Track software like this
Free during beta