Security & privacy

GeoServer flaws enable unauthenticated remote code execution chains

Attackers are actively exploiting two GeoServer vulnerabilities that can be chained with other flaws to achieve unauthenticated remote code execution.

A cracked glass globe on a server rack with glowing red digital chains wrapping around it
Illustration generated for this article

Threat actors are actively exploiting two recently patched security flaws in GeoServer, an open-source server for sharing geospatial data. The vulnerabilities, identified as CVE-2026-120705 and CVE-2026-129243, were disclosed by watchTowr and Eye Security in late November 2026. These defects allow unauthenticated attackers to read arbitrary files or bypass service security rules, serving as entry points for more severe attacks.

What happened

The core issue involves a chain of vulnerabilities that can lead to full remote code execution (RCE) without requiring any prior authentication. Eye Security reported that CVE-2026-120705, an arbitrary file read flaw, can be combined with two other vulnerabilities to create this dangerous chain. Attackers have been sending error-based exploit probes to validate if servers are vulnerable by creating and invoking stored queries. This active exploitation follows a similar incident from three months prior involving CVE-2026-76904, which also saw zero-day exploitation.

The attack chain begins with CVE-2026-120705, which allows an attacker to access sensitive files such as "users.xml" and "security/config.xml". These files contain username password hashes and a static signing key used for the "remember me" functionality. Once these credentials and keys are obtained, the attacker exploits CVE-2026-129245, a vulnerability involving a hard-coded signing key, to forge a valid administrator authentication cookie. This step bypasses the need to crack the administrator password entirely.

With administrative access secured via the forged cookie, the attacker then leverages CVE-2026-120704. This flaw involves improper control of code generation, allowing the attacker to execute arbitrary code as the user running GeoServer. Specifically, the attacker abuses an administrator-controlled JDBC configuration to execute code from an uploaded native library on both Linux and Windows systems. Project maintainers noted that simply changing the signing key in the configuration file does not mitigate the risk if the file disclosure vulnerability also reveals the new key.

How it works

The five-step unauthenticated remote command execution chain relies on specific weaknesses in how GeoServer handles Web Feature Service (WFS) requests and internal security configurations. First, an attacker uses a prefixed service name, such as "x/WFS", to bypass admin-only rules for stored queries, exploiting CVE-2026-129243. This allows them to interact with features that should be protected. Next, they exploit CVE-2026-120705 through an XML injection in the WFS GetFeatureById operation. This injection turns escaped text in a saved query into live xi:include elements, which leaks the file paths and contents of the remember-me key and admin password digest.

Jonah Burgess, a Senior Security Researcher at Rapid7 known as CryptoCat, independently discovered and reported this chain in August 2026. He explained that the leaked values allow the attacker to forge an administrator cookie without cracking the password. Finally, the attacker points a JDBC user service at an uploaded HSQLDB database. The bundled driver then deserializes a stored value, which triggers the execution of arbitrary commands on the server. This complex chain highlights how multiple lower-severity issues can combine to create a critical threat.

Key details

  • Active Exploitation: Attackers are actively probing for CVE-2026-120705 and CVE-2026-129243 using error-based techniques.
  • Critical Chain: A five-step chain leads to unauthenticated RCE, involving CVE-2026-129244, CVE-2026-129243, CVE-2026-120705, CVE-2026-129245, and CVE-2026-129242.
  • Hard-coded Key: CVE-2026-129245 (CVSS 9.2) involves a predictable "remember me" signing key set to "geoserver".
  • File Disclosure: CVE-2026-120705 (CVSS 8.6) allows reading local text files or fetching URLs via unauthenticated WFS requests.
  • Affected Versions: Vulnerabilities affect GeoServer versions prior to 2.27.7, 2.28.6, and 3.0.2.
  • Patches Released: Advisories were published on November 24, 2026, but patches were released in October and early November 2026.

Why it matters

For teams managing geospatial infrastructure, this incident underscores the risk of relying on default configurations and the danger of chaining vulnerabilities. GeoServer is widely used in mapping and location-based services, meaning many organizations may be exposed if they have not updated. The fact that attackers can gain administrative access without knowing passwords makes traditional brute-force protections ineffective. This highlights the importance of securing internal configuration files and ensuring that signing keys are not predictable or hard-coded.

Software engineers and DevOps professionals must recognize that patching one vulnerability may not be enough if related flaws exist. The complexity of the five-step chain shows how seemingly minor issues, like path disclosure or XML injection, can escalate into full system compromise. Regular security audits and timely updates are crucial, especially for open-source components that may not receive immediate attention from all users. The recurrence of active exploitation in GeoServer within three months suggests it is becoming a high-value target for threat actors.

What you can do

  • Update GeoServer to versions 2.27.7, 2.28.6, or 3.0.2 immediately if you are running older versions.
  • Check your server logs for error-based probes or unusual WFS requests that may indicate exploitation attempts.
  • Review and restrict access to sensitive configuration files like "users.xml" and "security/config.xml".
  • Change the default "remember me" signing key in your security configuration to a strong, random value.
  • Monitor for unauthorized JDBC configuration changes or unexpected database connections.
  • Implement network-level restrictions to limit access to GeoServer administrative interfaces.
  • #geoserver
  • #cybersecurity
  • #vulnerability
  • #remote code execution
  • #open source

Tools from the Bytechap store

Keep reading

All stories