External risk intelligence

GeoServer WFS Stored Query XML Injection

CVE advisoryKnown Exploit

CVE-2026-120705

GeoServer is designed as a public-facing geospatial server that provides OGC-compliant web services, including WFS (Web Feature Service). These endpoints are standardly deployed to be internet-accessible to share and edit data. The vulnerability resides in a core WFS operation that is frequently exposed to the public internet by design in normal operational use.

Osgeo Geoserver

Halo Surface Signal: 5 out of 5 — more likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

A security vulnerability has been identified in GeoServer, an open-source software used for sharing and editing geospatial data. This issue allows for unauthorized access to sensitive information or potentially the execution of malicious code by exploiting how the system processes specific data requests. The primary concern is to confirm if our organization utilizes this software and is therefore exposed.

  • XML data processing flaw.
  • Could expose data or enable code execution.
  • Confirm relevance and exposure of GeoServer.

Attack Path

How an attacker could exploit the issue

An attacker can exploit this vulnerability by sending a specially crafted request to the GeoServer's public GetFeature operation. This request targets the WFS 2.0 GetFeatureById stored query, manipulating an ID parameter to inject malicious XML code. Because the server processes this XML without proper entity escaping, the injected code can be executed, potentially leading to unauthorized access to local files or fetching external resources.

  • Unauthenticated network access required.
  • XML injection via WFS GetFeatureById query.
  • Server reads local files or fetches external URLs.

Live Threat

Current exploitation, exposure, and threat context

When supported by the advisory, an unauthenticated caller could inject crafted XML into a geospatial data query. This could lead to the server processing malicious input, potentially allowing it to read local files or fetch external content.

  • Geospatial data and server configuration.
  • XML injection via crafted query parameter.
  • Unauthorized access to local or external resources.

Operational Fix

Recommended remediation, mitigation, and detection steps

The GeoServer WFS stored query vulnerability likely impacts application owners and infrastructure teams responsible for maintaining geospatial data services. The first practical step is to inventory all GeoServer instances, determine their internet exposure and criticality, identify the accountable owner for each instance, and then plan remediation efforts based on this risk assessment.

  • Identify GeoServer instances and ownership.
  • Verify WFS GetFeatureById operation exposure.
  • Coordinate updates during maintenance windows.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is GeoServer?

GeoServer is an open-source software platform used to share, process, and edit geospatial data. It acts as a server that enables organizations to publish information from various data sources using open standards, such as the Web Feature Service (WFS) protocol. It is commonly deployed to make geographic maps and data accessible via the web.

What does CVE-2026-120705 mean for XML security?

This vulnerability is classified as CWE-91, which involves XML injection. In this specific case, the system fails to properly sanitize input in a stored query. An attacker can insert malicious XML instructions that the server then processes, potentially forcing it to access unauthorized local files or interact with external web resources that it should not be contacting.

How is this GeoServer vulnerability triggered?

An attacker triggers the flaw by sending a specially crafted request to the public GetFeature operation. By manipulating the ID parameter within a WFS 2.0 GetFeatureById stored query, they can inject unauthorized XML content. If the query does not include this specific malicious injection, the standard operation remains unaffected by this particular flaw.

Is my GeoServer instance at risk?

Halo Surface Signal indicates that GeoServer is typically designed as a public-facing geospatial server, often placing its WFS endpoints on the internet by default. If your instance is internet-accessible, it is exposed to remote, unauthenticated callers who can leverage this path. Internal-only instances still face risks from malicious or compromised internal actors.

How do I respond to this GeoServer threat?

Begin by auditing your infrastructure to create a complete inventory of all running GeoServer instances. Identify which versions are in use and determine their network reachability. Prioritize updating the affected components—specifically gs-wfs-core and gt-metadata—to the patched versions provided by the vendor to eliminate the injection path.

References