GeoServer: read local files and fetch URLs
Actively exploitedHighAI-generated2026-11-28
- CVE
- CVE-2026-120705
- Severity
- High (CVSS 8.6)
- Attack conditions
- Remotely, over the network · No account needed · No user action needed
- CISA due date
- 30 November 2026 (deadline passed)
According to CISA, this vulnerability is exploited in attacks. CISA has asked US federal agencies to act by 30 November 2026 (deadline passed).
Summary
OSGeo GeoServer is vulnerable to an XML injection flaw that lets an unauthenticated attacker read local text files or retrieve arbitrary HTTP/HTTPS URLs.
Who is affected
- Vendor
- OSGeo
- Product
- GeoServer
Details
According to the NVD record, OSGeo GeoServer contains an XML injection vulnerability in the WFS 2.0 GetFeatureById stored query. The flaw affects any GeoServer instance that processes the crafted ID parameter.
An unauthenticated remote attacker can exploit this issue to make the server read local text files that the GeoServer process can access, or to cause the server to fetch attacker-specified HTTP or HTTPS URLs. The vulnerability can be combined with several other flaws to enable remote code execution without authentication.
According to CISA, the vulnerability is being actively exploited.
What to do
The source record does not name a specific patch, fixed version or workaround. General measures:
- Follow the vendor's security advisories.
- Apply the update when it is released.
- Limit access to the product as much as possible, especially from the internet.
Sources
- NVD record (CVE-2026-120705)
- CISA KEV entry
- https://github.com/geoserver/geoserver/pull/9928
- https://github.com/geoserver/geoserver/releases/tag/2.27.7
- https://github.com/geoserver/geoserver/releases/tag/2.28.6
- https://github.com/geoserver/geoserver/releases/tag/3.0.2
- https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47
- https://osgeo-org.atlassian.net/jira/browse/GEOS-12199
- https://osgeo-org.atlassian.net/jira/browse/GEOT-7938
Timeline
- 27 November 2026 CISA added it to its list of exploited vulnerabilities (KEV)
- 28 November 2026 This article was written
- 30 November 2026 NVD record published
- 30 November 2026 CISA's due date for US federal agencies