GeoServer Vulnerabilities Targeted by Attackers Amid Unauthenticated RCE Risks
Threat actors are actively exploiting two newly patched security flaws in GeoServer, according to watchTowr.
The vulnerabilities are identified as CVE-2026-120705 and CVE-2026-129243, with details as follows:
- CVE-2026-120705 (CVSS score: 8.6) – This arbitrary file read vulnerability could allow an attacker to access local text files readable by the GeoServer process or fetch adversary-selected HTTP or HTTPS URLs through a single unauthenticated Web Feature Service (WFS) request.
- CVE-2026-129243 (CVSS score: 8.8) – This incorrect authorization vulnerability may enable an unauthenticated attacker to invoke OWS operations that are otherwise protected by service security rules.
Advisories for both vulnerabilities were published on November 24, 2026, for the following versions:
- CVE-2026-120705: org.geoserver:gs-wfs-core – 3.0.2, 2.28.6, and 2.27.7
- CVE-2026-120705: org.geotools:gt-metadata – 35.2, 34.6, and 33.7
- CVE-2026-129243: org.geoserver:gs-ows – 3.0.2, 2.28.6, and 2.27.7
According to watchTowr, attackers have been sending error-based exploit probes to confirm server vulnerabilities by creating and invoking stored queries.
Eye Security, which discovered and reported CVE-2026-120705, stated that this flaw can be combined with two other vulnerabilities in GeoServer to create an unauthenticated remote code execution chain:
- CVE-2026-129245 (CVSS score: 9.2) – This vulnerability involves a hard-coded signing key in the “remember me” functionality that could be exploited to forge administrator authentication. (Fixed in org.geoserver:gs-main versions 3.0.2, 2.28.6, and 2.27.7)
- CVE-2026-120704 (CVSS score: 7.2) – This vulnerability allows improper control of code generation, enabling an administrator or anyone with access to an administrator session to execute arbitrary code as the user running GeoServer. (Fixed in org.geoserver.security:gs-sec-jdbc versions 3.0.2, 2.28.6, and 2.27.7)
In a hypothetical attack chain, an attacker could follow these steps:
- Exploit CVE-2026-120705 to access “users.xml,” which contains GeoServer usernames and password hashes, obtaining the password representation along with the static signing key from the security configuration file.
- Exploit CVE-2026-129245 to forge a valid administrator authentication cookie using the predictable signing key and the stored password representation without needing to know the administrator password.
- Exploit CVE-2026-120704 to abuse an administrator-controlled JDBC configuration to execute code from an uploaded native library on both Linux and Windows versions of GeoServer.
According to the project maintainers, CVE-2026-129245 is also part of a five-step unauthenticated remote command execution chain that includes:
- CVE-2026-129244 (CVSS score: 6.9) – WFS stored query exception discloses the data directory path.
- CVE-2026-129243 (CVSS score: 8.8) – Service security rules bypassed with a prefixed service name such as x/WFS.
- CVE-2026-120705 (CVSS score: 8.6) – Unauthenticated WFS GetFeatureById XML injection.
- CVE-2026-129245 (CVSS score: 9.2) – Predictable “remember me” key allows administrator session forgery.
- CVE-2026-129242 (CVSS score: 8.6) – Deserialization in JDBC user and role services allows administrator code execution.
GeoServer maintainers noted that an attacker who obtains an administrator password digest through any file disclosure or a copy of the data directory can log in as that administrator. They emphasized that changing the key in security/config.xml does not help if the same file disclosure also reveals the key.
Jonah Burgess, a Senior Security Researcher at Rapid7, known online as CryptoCat, was acknowledged for independently discovering and reporting the five-step unauthenticated remote command execution chain on August 2, 2026.
Burgess explained that prefixing the Web Feature Service (WFS) name, such as in x/WFS, bypasses the admin-only rule for stored queries. GeoServer processes escaped text in a saved query into live xi:include elements, which exposes the files containing the remember-me key and the admin password digest.
He added that these two values can forge an administrator cookie without needing to crack the password. As an administrator, the attacker can direct a JDBC user service at an uploaded HSQLDB database, allowing the bundled driver to deserialize a stored value that runs commands.
In light of the active exploitation of these flaws, users are advised to update to GeoServer versions 2.27.7, 2.28.6, and 3.0.2, released in the past month, as soon as possible.
This development follows shortly after another critical flaw in GeoServer, CVE-2026-76904, which had a CVSS score of 9.8 and was actively exploited as a zero-day.
The story has been updated after publication to include more details of the flaws and emphasize that advisories for the issues were released on November 24, 2026. The patches were originally released in October and early November 2026.
Source: The Hacker News