GeoServer flaws exploited to leak files and enable unauthenticated RCE chains
TL;DR
GeoServer users face active exploitation of CVE-2026-120705 and CVE-2026-129243. Attackers are using these flaws to read sensitive files and bypass security rules, which can be chained to achieve unauthenticated remote code execution. Update to versions 2.27.7, 2.28.6, or 3.0.2 immediately.
What happened
Threat actors are actively exploiting two vulnerabilities in GeoServer to target systems. CVE-2026-120705 (CVSS 8.6) allows an unauthenticated attacker to perform arbitrary file reads or server-side request forgery (SSRF) via a single Web Feature Service (WFS) GetFeatureById request. Simultaneously, CVE-2026-129243 (CVSS 8.8) allows attackers to bypass service security rules by using a prefixed service name, such as x/WFS.
Researchers have identified a five-step unauthenticated remote code execution (RCE) chain that utilizes these two flaws alongside others. In this chain, attackers use the file disclosure vulnerability to steal users.xml (containing password hashes) and security/config.xml (containing a predictable signing key). They then use those credentials to forge administrator cookies and execute arbitrary code via JDBC services.
Why it matters
This is a critical escalation for GeoServer users. The vulnerabilities are not just theoretical; they are being actively used in the wild to probe and compromise systems. Because the flaws allow an attacker to steal the very credentials needed to maintain persistence, simply changing the signing key in security/config.xml is ineffective if the file is leaked. The chain provides a direct path from an unauthenticated web request to full system command execution on both Linux and Windows.
Who is affected
- GeoServer versions prior to 2.27.7
- GeoServer versions prior to 2.28.6
- GeoServer versions prior to 3.0.2
org.geotools:gt-metadataversions prior to 33.7, 34.6, and 35.2
What to do now
- Update GeoServer to versions 2.27.7, 2.28.6, or 3.0.2 immediately.
- Update
org.geotools:gt-metadatato versions 33.7, 34.6, or 35.2. - Block requests containing a
/in theserviceparameter at your proxy to mitigateCVE-2026-129243. - Restrict or disable the WFS service for anonymous users via service security settings.
- Change all administrator passwords if you suspect your data directory has been exposed.
What we don't know yet
- The total number of successful exploitations in the wild.
- Whether other unpatched vulnerabilities exist within the identified RCE chain.
Sources
- thehackernews.comhttps://thehackernews.com/2026/11/hackers-exploit-two-geoserver-flaws-as.html
- github.comhttps://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47
- github.comhttps://github.com/geoserver/geoserver/security/advisories/GHSA-rv5g-g2r9-58rj
- github.comhttps://github.com/geoserver/geoserver/security/advisories/GHSA-hgm3-wq4h-8vvq
