Patch Ticker
EnglishEN
Urgent Attacked

GeoServer WFS requests can read server files and trigger outside requests

CVE-2026-120705

Map data servers open to anyone without login can leak server files!

CVE
CVE-2026-120705 (opens in a new tab)
Score
CVSS 8.6
Attacked
Listed in CISA KEV · 2026-11-27
First seen
8.6

Mitigation

Update gs-wfs-core to 2.27.7, 2.28.6 or 3.0.2, and gt-metadata to 33.7, 34.6 or 35.2. Until then, restrict WFS for anonymous users with service security, or disable WFS if it is not needed.

Fixed version by product

GeoServer 2.27
2.27.7 or later
GeoServer 2.28
2.28.6 or later
GeoServer 3.0
3.0.2 or later
GeoTools 33
33.7 or later
GeoTools 34
34.6 or later
GeoTools 35
35.2 or later
1 moreShow less

Summary

The WFS GetFeatureById stored query in GeoServer puts the ID value into XML without escaping, so an unauthenticated attacker can inject XML. The attacker can read local text files on the server or make the server request any HTTP or HTTPS address. The affected versions are listed for GeoServer and GeoTools.

Affected when

WFS service open to anonymous users

1 other Incident of this product in the last 30 days

Incidents by product: geoserver · Geotools

Other recent Incidents of geoserver

All Incidents of 2026-12-01

Read the advisory · github.com (opens in a new tab)