GeoServer: Unauthenticated WFS GetFeatureById XML injection
CVE-2026-120705
Key Information:
- Vendor
Geoserver
- Status
- Geoserver
- CVE ID
- CVE ID:
- CVE-2026-120705
- Vendor
- CVE Published:
- 30 November 2026
- Fixed in
- Fixed in:
- 33.7, 34.0, 34.6, 35.0, 35.2 +3 more
Timeline
Exploit known 3 days before it was disclosed
- 🟡
Public PoC available
Vulnerability published
- 👾
Exploit known to exist
- 🦅
CISA Reported
- 📰
First article discovered by The Hacker News
Vulnerability Reserved
Badges
How risky is it?
- Yes: Works over the network, no login needed
- Yes: Public exploit code (1 proof-of-concept)
- Yes: Attacked in the wild (on CISA's KEV list)
- No: No ransomware use seen
Our verdict
Patch now
Attackers are using it. Patch or mitigate today.
What to do
1Update to a fixed version
Install the geoserver release that fixes your version line, or later:
2Follow CISA's required action
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
3Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach geoserver. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
4Look for signs of compromise
It is being exploited in the wild, so check logs on exposed geoserver systems for unusual requests or new processes from before you patched. The 1 public proof-of-concept show what an attack looks like.
5Why it's rated "Patch now"
- CISA lists it as a Known Exploited Vulnerability, so it is being attacked in the wild.
- Exploit code is public, so attacks are easy to copy.
- It can be exploited remotely without credentials.
- EPSS gives it a 21.2% chance of exploitation in the next 30 days.
- Its CVSS severity is high (8.6).
What is CVE-2026-120705?
GeoServer is an open source server that allows users to share and edit geospatial data. Prior to "org.geoserver:gs-wfs-core" versions 2.27.7, 2.28.6, and 3.0.2 and prior to "org.geotools:gt-metadata" versions 33.7, 34.6, and 35.2, GeoServer exposes the built-in WFS 2.0 stored query urn:ogc:def:query:OGC-WFS::GetFeatureById through the public GetFeature operation. The stored query substituted the caller's ID parameter into an XML template without escaping, then parsed the result without GeoServer's entity resolver. An unauthenticated caller could inject XML, including an xi:include, into the query. This issue has been patched in "org.geoserver:gs-wfs-core" versions 2.27.7, 2.28.6, and 3.0.2 and "org.geotools:gt-metadata" versions 33.7, 34.6, and 35.2.
CISA has reported CVE-2026-120705
CISA provides regional cyber and physical services to support security and resilience across the United States. CISA monitor the most dangerous vulnerabilities and have identified CVE-2026-120705 as being exploited . Neither CISA nor our sources have linked it to ransomware campaigns so far.
The CISA's recommendation is: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
News Articles
Hackers Exploit Two GeoServer Flaws as Researchers Warn of Unauthenticated RCE Chains
Attackers are exploiting two newly patched GeoServer flaws that could enable file disclosure and authorization bypass without authentication.
6 days ago
References
More Geoserver Vulnerabilities
XXE Vulnerability in GeoServer
Remote Code Execution in GeoServer
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction
