Skip to main content
Emerging ThreatsMalware & Ransomware

Hackers Exploit GeoServer Flaws in Unauthenticated RCE Attacks

Server room with rows of computer servers, cables, and a technician's workstation displaying code on a monitor.

"Attackers sent error-based exploit probes to validate that the server is vulnerable by creating and invoking stored queries," the preemptive exposure management firm said in an X post today, summarizing active exploitation of two recently patched GeoServer vulnerabilities.

What watchTowr observed: active probes against GeoServer

Security monitoring firm watchTowr reported that threat actors are actively exploiting two GeoServer flaws disclosed in late November 2026. The impacted bugs are tracked as CVE-2026-120705 (CVSS 8.6) and CVE-2026-129243 (CVSS 8.8). According to advisories published on November 24, 2026, affected components received fixes in the following releases: org.geoserver:gs-wfs-core 3.0.2, 2.28.6, and 2.27.7; org.geotools:gt-metadata 35.2, 34.6, and 33.7; and org.geoserver:gs-ows 3.0.2, 2.28.6, and 2.27.7.

How the two actively exploited flaws operate

CVE-2026-120705 is an arbitrary file read vulnerability that can expose local text files readable by the GeoServer process or fetch attacker-selected HTTP/HTTPS URLs via a single unauthenticated Web Feature Service (WFS) request. CVE-2026-129243 is described as an incorrect authorization flaw that may permit an unauthenticated actor to invoke OWS operations ordinarily protected by service security rules.

Those capabilities — unauthenticated file disclosure and bypassed service rules — underpin the immediate concern: both allow remote, unauthenticated interaction with server files and protected operations that ordinarily require privileges.

How researchers say an unauthenticated RCE chain can be built

Eye Security, the researcher credited with reporting CVE-2026-120705, warned that this file-read bug can be chained with other GeoServer vulnerabilities to produce an unauthenticated remote code execution (RCE) path. Two additional CVEs cited by Eye Security in that chain are CVE-2026-129245 (CVSS 9.2), a hard-coded "remember me" signing key vulnerability in org.geoserver:gs-main, and CVE-2026-120704 (CVSS 7.2), an improper control of code generation in org.geoserver.security:gs-sec-jdbc.

In the hypothetical attack sequence Eye Security outlined, an attacker first exploits CVE-2026-120705 to read users.xml and security/config.xml, gaining password digests and the static signing key. Using CVE-2026-129245, the attacker forges an administrator authentication cookie from those values. Finally, CVE-2026-120704 is abused to point an administrator-controlled JDBC configuration at a malicious uploaded native library, leading to code execution as the GeoServer process user on Linux and Windows.

GeoServer maintainers and Rapid7: a five-step chain and independent discovery

Project maintainers described a related five-step unauthenticated remote command execution chain that includes CVE-2026-129244 (WFS stored query exception discloses data directory path), CVE-2026-129243 (service security bypass via a prefixed service name such as x/WFS), CVE-2026-120705 (unauthenticated WFS GetFeatureById XML injection), CVE-2026-129245 (predictable remember-me key), and CVE-2026-129242 (deserialization in JDBC user and role services enabling admin code execution).

GeoServer maintainers warned: "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. Changing the key in security/config.xml does not help when the same file disclosure also reveals the key."

Jonah Burgess, Senior Security Researcher at Rapid7 (online alias CryptoCat), has been acknowledged for independently reporting the five-step chain on August 2, 2026. Burgess explained the mechanics succinctly: "Prefixing the Web Feature Service (WFS) name, as in x/WFS, slips past the admin-only rule for stored queries. GeoServer turns escaped text in a saved query into live xi:include elements, which leaks the files holding the remember-me key and the admin password digest. Those two values forge an administrator cookie without cracking the password. As admin, the attacker points a JDBC user service at an uploaded HSQLDB database, and the bundled driver deserialises a stored value that runs commands."

What this means for GeoServer operators, security teams, and attackers

  • GeoServer operators: Update immediately to the fixed releases — 2.27.7, 2.28.6, or 3.0.2 — that advisories published on November 24, 2026, align with. The advisories and the fixes were issued over the past month, and users are advised to apply them as soon as possible.
  • Security teams and incident responders: Treat systems running vulnerable GeoServer builds as high-priority for forensic review and containment; watchTowr's observation of error-based exploit probes indicates active scanning and exploitation attempts.
  • Adversaries and threat intelligence analysts: The published technical details show multiple viable chaining strategies — including stored-query abuse, file disclosure, authentication forgery, and JDBC deserialization — which attackers can combine to escalate to unauthenticated code execution.

The current wave of exploitation arrives a little over three months after another critical GeoServer vulnerability, CVE-2026-76904 (CVSS 9.8), saw active zero-day exploitation attempts. With multiple high-scoring CVEs and demonstrated exploit chaining, the record from researchers and maintainers is emphatic: patched releases are available and should be applied without delay.

Read the original report on The Hacker News