GeoServer: actively exploited WFS XML injection and service security rule bypass
GeoServer before 2.27.7, 2.28.0 to 2.28.5 and 3.0.0 to 3.0.1 has an unauthenticated WFS XML injection and a service security bypass, both on the CISA KEV list. Update to 3.0.2, 2.28.6 or 2.27.7.
- Severity
- high
- Product
- GeoServer
- CVE
- CVE-2026-120705, CVE-2026-129243
- Affected versions
- GeoServer 2.27.6 and earlier, 2.28.0 to 2.28.5, 3.0.0 to 3.0.1.
- Fixed in
- GeoServer 3.0.2, 2.28.6, 2.27.7
- Published
- Last updated
GeoServer 3.0.2, 2.28.6 and 2.27.7 (October 2026) fix two flaws that CISA lists in its Known Exploited Vulnerabilities catalog, so they are being exploited in the wild:
- CVE-2026-120705: unauthenticated XML injection in the WFS GetFeatureById stored query. An unauthenticated remote attacker can make the server read local text files the GeoServer process can access, or fetch URLs of the attacker's choice (GHSA-39mw-5chv-jh47, vendor rating High, CVSS 3.1 8.6).
- CVE-2026-129243: service security rules can be bypassed with a prefixed service name such as x/WFS, so operations protected only by service-level role checks can be called without those roles (GHSA-rv5g-g2r9-58rj, vendor rating High, CVSS 4.0 8.8).
CISA notes that both can be chained with other flaws fixed in the same releases to reach unauthenticated remote code execution. The GeoServer project rates both High; this advisory uses the vendor's rating. The same releases fix further CVEs listed in the vendor's November 2026 security update, including CVE-2026-129245 (Critical).
Who is affected
Windows hosts running GeoServer 2.27.6 or earlier, 2.28.0 to 2.28.5, or 3.0.0 to 3.0.1. GeoServer is a Java application; the vendor's bulletin names no platform limit, and the Windows installer is one of the vendor's distributions. CVE-2026-120705 is in the core WFS module and CVE-2026-129243 in the core OWS module, so a default installation is affected.
How to check a host
Open Settings, Apps, Installed apps and look for the "GeoServer" entry. The vendor's Windows installer writes the version into the name, for example "GeoServer 2.28.5". A GeoServer deployed from the platform-independent archive or as a WAR file in a servlet container does not appear in Installed apps; check its version on the server status page of the web administration interface.
How to fix
Update to GeoServer 3.0.2, 2.28.6 or 2.27.7 or later, matching the branch you run, or run winget upgrade --id OSGeo.GeoServer. The vendor names no fixed release for branches older than 2.27, so those hosts have to move to one of the fixed releases. Because both flaws are exploited, an internet-facing server should be updated first and checked for signs of compromise, following CISA's guidance.
How Openness reports it
Openness reads the installed GeoServer version on the Windows hosts it scans and reports CVE-2026-120705 and CVE-2026-129243 with this advisory on every host whose version is before 2.27.7, from 2.28.0 up to 2.28.5, or from 3.0.0 up to 3.0.1. NVD has not analysed these CVEs yet (no NVD entry on 2026-11-30), so without this advisory the scan would not find them.