Advisory

CVE-2026-120705: OSGeo GeoServer XML Injection Enables File Read and RCE Chain

An XML injection vulnerability in OSGeo GeoServer allows an unauthenticated remote attacker to read local files accessible to the GeoServer process or fetch attacker-controlled URLs via a crafted WFS 2.0 GetFeatureById stored query parameter. When chained with four related CVEs, this flaw can lead to unauthenticated remote code execution on affected GeoServer instances.

TL;DR: Apply vendor-supplied mitigations immediately; this vulnerability was added to the CISA Known Exploited Vulnerabilities catalog on 2026-11-27, and federal agencies are subject to BOD 26-04 remediation timelines. If patches or mitigations are unavailable, discontinue use of the affected product.

What Is the Vulnerability?

CVE-2026-120705 is an XML injection vulnerability in OSGeo GeoServer. The flaw resides in the handling of the ID parameter within the WFS 2.0 GetFeatureById stored query. By submitting a specially crafted value for this parameter, an unauthenticated remote attacker can manipulate how the server processes XML, resulting in two distinct immediate impacts:

  • Local file disclosure: The server can be coerced into reading local text files that are accessible to the GeoServer operating-system process and returning their contents.
  • Server-Side Request Forgery (SSRF): The server can be directed to fetch attacker-specified HTTP or HTTPS URLs, potentially exposing internal services or infrastructure.

Critically, this vulnerability has been confirmed by CISA to be chainable with four related vulnerabilities—CVE-2026-129244, CVE-2026-129243, CVE-2026-129245, and CVE-2026-129242—to achieve unauthenticated remote code execution (RCE) on a vulnerable GeoServer instance. The combination of an unauthenticated entry point and an RCE chain makes this a severe finding.

Who and What Is Affected?

The affected product is OSGeo GeoServer, an open-source server written in Java that enables organizations to share and edit geospatial data using open standards including WFS (Web Feature Service), WMS, and WCS.

GeoServer is widely deployed in:

  • Government and public-sector mapping portals
  • Utility, infrastructure, and environmental agencies
  • Academic and research institutions handling geospatial data
  • Commercial organizations offering location-based services

Any instance of GeoServer that exposes the WFS 2.0 endpoint—particularly those reachable from untrusted networks or the public internet—should be treated as potentially at risk. Because exploitation requires no authentication, internet-facing deployments face elevated exposure. Consult the OSGeo GeoServer project and the CISA KEV catalog for the most current list of affected versions.

What Is the Impact?

The impact of CVE-2026-120705 spans multiple severity levels depending on how it is exploited:

  • Information disclosure: Attackers can retrieve sensitive local files readable by the GeoServer process. This may include configuration files, credentials, private keys, or other sensitive data stored on the host.
  • SSRF: The server can be turned into a proxy to reach internal services, cloud metadata endpoints, or other hosts not directly reachable by the attacker. This can facilitate lateral movement or further reconnaissance.
  • Remote Code Execution (via chain): When combined with CVE-2026-129244, CVE-2026-129243, CVE-2026-129245, and CVE-2026-129242, an unauthenticated attacker can achieve full code execution on the server. This is the highest-severity outcome and could result in complete compromise of the host running GeoServer.

This vulnerability has been added to the CISA Known Exploited Vulnerabilities (KEV) catalog (added 2026-11-27), indicating that CISA has determined it poses significant risk warranting prioritized remediation.

What Should You Do Now?

CISA's required action for this KEV entry is to apply mitigations in accordance with vendor instructions, consistent with BOD 26-04 (Prioritizing Security Updates Based on Risk) guidance. Steps to take immediately:

  1. Identify all GeoServer instances in your environment, including those in cloud, on-premises, and containerized deployments.
  2. Apply vendor patches or mitigations as directed by OSGeo. Consult the official GeoServer project site and any associated security advisories for patch availability and guidance specific to your version.
  3. Prioritize internet-facing instances for immediate action. CISA's BOD 26-04 guidance requires stakeholders to evaluate each asset's internet exposure and adhere to corresponding patching timelines.
  4. Address all five CVEs in the chain: CVE-2026-120705, CVE-2026-129244, CVE-2026-129243, CVE-2026-129245, and CVE-2026-129242. Patching only one may leave you exposed to the others.
  5. Apply network-level controls as interim mitigations where patching cannot be done immediately: restrict access to WFS endpoints, limit outbound HTTP/HTTPS from the GeoServer process, and block access to sensitive file paths where possible.
  6. Review logs for anomalous requests to the WFS 2.0 GetFeatureById endpoint. CISA's KEV entry references forensics triage requirements—if you suspect compromise, follow incident response procedures and consult CISA guidance.
  7. Discontinue use of the product if mitigations are unavailable and the system cannot be isolated from risk, per CISA's required action guidance.

Federal agencies are subject to mandatory remediation timelines under BOD 26-04. All other organizations are strongly encouraged to treat this with equivalent urgency given the severity of the potential RCE chain.

How External Security Testing Can Surface This Exposure

Point-in-time external security assessments can help organizations understand whether GeoServer instances are reachable and whether vulnerable endpoints are exposed before an adversary finds them. Specifically, external testing can:

  • Identify exposed GeoServer services on internet-facing IP ranges and domains, including unexpected or shadow deployments that may not be tracked in internal asset inventories.
  • Fingerprint service versions and capabilities to determine whether a discovered GeoServer instance advertises WFS 2.0 support, which is the attack surface involved in CVE-2026-120705.
  • Validate network segmentation to confirm that GeoServer WFS endpoints are not reachable from untrusted networks when they should not be.
  • Detect related vulnerabilities in the CVE chain (CVE-2026-129244, CVE-2026-129243, CVE-2026-129245, CVE-2026-129242) that together enable the RCE path, so remediation coverage can be verified holistically.

Because exploitation of this vulnerability requires no authentication, any internet-reachable GeoServer instance running an affected version represents an immediately actionable risk. External, attacker-perspective testing reflects the actual threat model and can confirm whether defensive controls and patches are effective from outside the network perimeter.

Sources & further reading: NVD CVE-2026-120705 and the CISA KEV catalog are the authority on affected and fixed versions. This advisory contains no exploit code.

Frequently asked questions

Does an attacker need valid credentials to exploit CVE-2026-120705?

No. According to the CISA KEV catalog entry, this vulnerability can be exploited by an unauthenticated remote attacker. No login or prior access to the GeoServer instance is required, which significantly increases the risk for any internet-facing deployment.

Is this vulnerability being actively exploited?

CISA added CVE-2026-120705 to the Known Exploited Vulnerabilities (KEV) catalog on 2026-11-27, which reflects CISA's assessment that the vulnerability poses significant risk warranting prioritized remediation. Organizations should consult the CISA KEV catalog directly at cisa.gov for the most current status.

Do I need to patch all five CVEs in the chain, or just CVE-2026-120705?

CISA's KEV entry explicitly identifies CVE-2026-129244, CVE-2026-129243, CVE-2026-129245, and CVE-2026-129242 as the vulnerabilities that can be chained with CVE-2026-120705 to achieve unauthenticated remote code execution. You should evaluate and remediate all five to fully address the RCE risk. Consult OSGeo's vendor advisories for guidance on each.

What if a patch is not yet available for my version of GeoServer?

CISA's required action states that if mitigations are unavailable, organizations should discontinue use of the product. As interim measures, consider restricting network access to the WFS 2.0 endpoint, isolating the GeoServer instance from sensitive internal networks, and blocking outbound HTTP/HTTPS connections from the GeoServer process to limit the SSRF impact. Follow BOD 26-04 guidance and consult the official OSGeo GeoServer security advisories for updates.