CVE-2026-120705: 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Discontinue use of OSGeo GeoServer if mitigations are unavailable.
Event History
Frequently Asked Questions
What does an attacker need to exploit this issue?
The issue can be exploited remotely without authentication by sending a crafted ID parameter to the WFS 2.0 GetFeatureById stored query. The attacker does not need an account on the GeoServer instance.
Which systems are exposed?
GeoServer instances that expose the WFS 2.0 GetFeatureById stored query are relevant to this vulnerability. The vulnerable behavior can cause the GeoServer process to read local text files it can access or make attacker-directed HTTP or HTTPS requests.
What is the potential impact beyond file disclosure and outbound requests?
This issue 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. It is listed as exploited in the wild.