Skip to content
eastbaycyber

GeoServer flaws expose files and bypass service security

Breaking news 5 min read
EC
East Bay Cyber Editorial Team Updated Developing story
Built from the vendor or authority notice plus independent reporting; unconfirmed claims are labeled as reported. Human-reviewed after publishing.

TL;DR - GeoServer published fixes for CVE-2026-120705 and CVE-2026-129243. - CVE-2026-120705 permits an unauthenticated WFS request to read local text files or fetch an attacker-selected HTTP or HTTPS URL. - CVE-2026-129243 bypasses service security rules when the service parameter uses a prefix such as x/WFS. - Eye Security reports that these flaws can form part of an unauthenticated remote code execution chain. - The Hacker News reports that watchTowr observed exploit probes.

What happened#

GeoServer published two security advisories on Nov 23, 2026. The issues affect GeoServer versions <= 2.27.6, >= 2.28.0, <= 2.28.5, and >= 3.0.0, <= 3.0.1. Fixed versions are 2.27.7, 2.28.6, and 3.0.2, according to the GeoServer advisory for CVE-2026-120705 and the GeoServer advisory for CVE-2026-129243.

CVE-2026-120705 affects the WFS GetFeatureById stored query. GeoServer says the caller’s ID was inserted into an XML template without escaping. An unauthenticated caller could inject XML, including an xi:include, into the query. A single unauthenticated WFS request could read a local text file readable by the GeoServer process, fetch an attacker-selected HTTP or HTTPS URL, and receive fetched text in an error response. GeoServer rates the issue High with a CVSS overall score of 8.6.

CVE-2026-129243 affects service security checks. GeoServer says a parameter such as service=x/WFS was resolved to the WFS service by the dispatcher, while service security checked the unresolved name x/WFS. Because no rule matched, restricted operations could run without a role check. Under the default configuration, this allowed anonymous users to create and delete WFS stored queries. GeoServer rates this issue High with a CVSS overall score of 8.8.

Are you affected#

Deployments running the affected GeoServer version ranges are affected by the two advisories. The GeoServer advisories list these ranges:

  • <= 2.27.6
  • >= 2.28.0, <= 2.28.5
  • >= 3.0.0, <= 3.0.1

The patched GeoServer versions are 2.27.7, 2.28.6, and 3.0.2. The CVE-2026-120705 advisory also lists patched GeoTools versions 33.7, 34.6, and 35.2 for org.geotools:gt-metadata.

CVE-2026-120705 does not require authentication, a custom stored query, or CreateStoredQuery access. GeoServer says file contents are echoed when a layer is published to anonymous users. Otherwise, the file is still read but not returned.

CVE-2026-129243 affects installations that rely on service security rules to restrict OWS operations. GeoServer says layer and data security rules still apply. The advisory also states that stored queries created through the bypass are the entry point for CVE-2026-120705.

What is confirmed and what is reported#

Claim Source Status
CVE-2026-120705 is an unauthenticated WFS XML injection issue that can read local text files or fetch an attacker-selected HTTP or HTTPS URL. GeoServer advisory Confirmed
CVE-2026-120705 affects the listed GeoServer and GeoTools versions and is fixed in 2.27.7, 2.28.6, 3.0.2, 33.7, 34.6, and 35.2. GeoServer advisory Confirmed
CVE-2026-129243 allows service security rules to be bypassed with a prefixed service name such as x/WFS. GeoServer advisory Confirmed
CVE-2026-129243 is fixed in GeoServer 2.27.7, 2.28.6, and 3.0.2. GeoServer advisory Confirmed
CVE-2026-120705 and CVE-2026-129243 can be combined with additional flaws to create an unauthenticated remote code execution chain. Eye Security Reported
Attackers are actively exploiting the two flaws. The Hacker News, citing watchTowr Reported
watchTowr observed error-based probes involving the creation and invocation of stored queries. The Hacker News Reported
Eye Security accessed users.xml during research and used additional vulnerabilities to progress from file access to administrator authentication and remote code execution. Eye Security Reported

Eye Security also describes CVE-2026-129245 and CVE-2026-120704 as additional links in the reported chain. Those claims have not been stated in the two GeoServer advisories cited here.

What defenders should do now#

  1. Identify GeoServer deployments and compare their versions with the affected ranges listed in the CVE-2026-120705 advisory.
  2. Upgrade to GeoServer 2.27.7, 2.28.6, or 3.0.2, as applicable. GeoServer states that no manual steps are required for the CVE-2026-129243 resolution.
  3. Until upgrades are completed, restrict or disable WFS for anonymous users using service security, or disable WFS if it is not required, as GeoServer recommends.
  4. Block requests whose service parameter contains / in the query string or XML service attribute at a proxy in front of GeoServer, following the mitigation in the CVE-2026-129243 advisory.
  5. Review the data directory wfs/query and workspaces/*/wfs/query folders for stored queries that were not created by authorized administrators.
  6. Review relevant logs for unauthenticated WFS requests, prefixed service values such as x/WFS, error-based probes, and unexpected stored-query creation or invocation.
  7. Assess whether local text files readable by the GeoServer process, including security-related files, may have been exposed. Eye Security reports that users.xml contains GeoServer usernames and password hashes.
  8. Check whether additional GeoServer advisories apply to the deployment, because Eye Security reports that multiple vulnerabilities can be combined into an unauthenticated remote code execution chain.

This advisory is informational and is updated as vendors publish details. Confirm versions and actions against the vendor’s own guidance for your environment.

Sources

Last verified: 2026-11-25

Disclaimer: This article may contain affiliate links. We earn a commission on qualifying purchases at no extra cost to you.