What is CVE-2026-120705?
OsGeo GeoServer contains an XML injection vulnerability that allows an unauthenticated remote attacker to cause the server to read local text files accessible to the GeoServer process or fetch attacker-specified HTTP or HTTPS URLs via a crafted ID parameter in the WFS 2.0 GetFeatureById stored query. This vulnerability can be chained with CVE-2026-129244, CVE-2026-129243, CVE-2026-129245, and CVE-2026-129242 to achieve unauthenticated remote code execution on an affected GeoServer instance.
CISA added this issue to its exploited-vulnerability catalog on 2026-11-27. This is the catalog date, not this article’s publication date.
Sources: CISA Known Exploited Vulnerabilities catalog, CVE-2026-120705 — NVD, CVE-2026-120705 — CVE Program record
First, confirm where the vulnerable product is running
CVE-2026-120705 is an unauthenticated XML injection in GeoServer's WFS 2.0 GetFeatureById stored query, allowing reading local files or fetching attacker-controlled URLs. It can chain with four other CVEs for remote code execution. Patches exist in gs-wfs-core 2.27.7, 2.28.6, 3.0.2 and gt-metadata 33.7, 34.6, 35.2. The CVE record notes fixed versions; however, the supplied structured catalog does not establish fixed versions as a fact. Mitigation requires applying vendor-recommended updates and complying with CISA BOD 26-04 and Forensics Triage Requirements. Cloud deployment guidance must not assume vendor-supported images, Kubernetes manifests, or appliance package formats. Applicability of managed cloud services is not established by sources.
The named vulnerable product is OSGeo GeoServer. Deployment on a cloud platform does not by itself establish that a managed AWS, Azure or GCP service is vulnerable. Confirm the product, version, vendor-supported deployment and remediation owner.
Vendor remediation comes first
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.
Use the current vendor advisory for affected versions and fixed builds. This catalog entry does not establish a universal fixed version or a cloud-specific hotfix.
Sources: CISA Known Exploited Vulnerabilities catalog, CVE-2026-120705 — NVD
AWS: remediation and deployment checks
Use these checks only if your inventory confirms an affected, vendor-supported deployment in this environment.
- Check if GeoServer runs on an EC2 instance; if so, verify the gs-wfs-core and gt-metadata Java package versions against the fixed releases listed in the advisory. Apply the vendor-supported upgrade path for the workload.
- If GeoServer is deployed via AWS Marketplace or CloudFormation, consult the publisher's update instructions; do not assume Patch Manager will resolve the issue without a vendor-supported artifact.
- Confirm internet-facing exposure per CISA BOD 26-04; if mitigations are unavailable, discontinue use of the product on that asset.
- After updating, verify the stored query urn:ogc:def:query:OGC-WFS::GetFeatureById no longer accepts unescaped ID parameters by testing a crafted request that previously triggered XML injection.
Sources: AWS Systems Manager Patch Manager
Azure: remediation and deployment checks
Use these checks only if your inventory confirms an affected, vendor-supported deployment in this environment.
- Verify the GeoServer Java application version on Azure VMs or Azure Arc machines; ensure gs-wfs-core and gt-metadata are updated to the vendor-published fixed releases.
- If GeoServer runs on Azure App Service or Container Apps, check the container image version against the fixed tags (2.27.7, 2.28.6, 3.0.2) and redeploy using the vendor-supported artifact.
- Confirm whether the deployment is a managed service or customer-managed software; remediation ownership differs, and sources do not establish service-level exposure.
- Post-patch, send a crafted GetFeatureById request with an xi:include payload to the WFS endpoint and confirm the server does not read local files or fetch external URLs.
Sources: Azure Update Manager overview
GCP: remediation and deployment checks
Use these checks only if your inventory confirms an affected, vendor-supported deployment in this environment.
- Check the GeoServer version on Compute Engine VMs; compare gs-wfs-core and gt-metadata versions to the fixed releases 2.27.7, 2.28.6, 3.0.2 and 33.7, 34.6, 35.2 respectively.
- For containerized deployments on GKE, retrieve the container image tag and confirm it matches a vendor-released fixed version; do not assume VM Manager Patch updates the application artifact.
- Validate internet exposure per CISA BOD 26-04; if the product cannot be mitigated, discontinue use on that workload.
- After updating, test the GetFeatureById endpoint with a malicious XML payload to confirm the injection vector is blocked.
How to verify the fix
- Confirm the installed gs-wfs-core and gt-metadata Java library versions match or exceed the fixed releases listed in the vendor advisory.
- Send a GetFeatureById request with an xi:include XML construct to the WFS 2.0 endpoint; the server should not read local files or fetch attacker-specified URLs.
- Review platform-specific update logs (e.g., AWS Systems Manager, Azure Update Manager, GCP VM Manager) to document that the patched package versions were installed.
- If a vendor-supported upgrade path is unavailable, document the asset as out of compliance per CISA BOD 26-04 and evaluate product discontinuation.
Questions teams ask
Does CISA KEV track remediation status for individual GeoServer assets?
No. CISA KEV does not track remediation status for individual assets; stakeholders must evaluate internet exposure and apply mitigations per BOD 26-04 guidance.
Can a patch confirm that no earlier compromise occurred?
No. A patch does not prove there was no earlier compromise; forensic triage per CISA's Forensics Triage Requirements is required for affected assets.
Should I apply an OS-level package update to fix this GeoServer vulnerability?
No. For vendor appliances, use the vendor-supported upgrade path; do not install host agents or alter the base OS without explicit vendor support. OS package updates do not necessarily update the GeoServer Java libraries.
Sources & further reading
- CISA Known Exploited Vulnerabilities catalog
- Source catalog snapshot
- CVE-2026-120705 — NVD
- CVE-2026-120705 — CVE Program record
- Referenced advisory — geoserver.org
- Referenced advisory — github.com
- Referenced advisory — www.cisa.gov
- Referenced advisory — www.cisa.gov
- CVE record reference — github.com
- CVE record reference — github.com
- CVE record reference — github.com
- CVE record reference — github.com
- CVE record reference — osgeo-org.atlassian.net
- CVE record reference — osgeo-org.atlassian.net
- AWS Systems Manager Patch Manager
- Azure Update Manager overview
- Google Cloud VM Manager — About Patch
This brief summarizes public source material. Confirm affected versions and the current vendor instructions before changing production. No original exploit validation is claimed.