GBHackers

Critical GeoServer Vulnerability Chain Lets Hackers Execute Remote Commands Without Authentication


Five vulnerabilities in GeoServer, an open-source server for publishing geospatial data, can be chained to execute operating system commands without valid credentials.

Security researcher CryptoCat demonstrated the chain on a default Linux installation, while watchTowr reported seeing attempts to exploit two of the flaws in its honeypot network. The observations show attackers probing exposed servers, but do not confirm they completed the chain or executed commands.

GeoServer disclosed the five flaws on November 23, 2026. The affected releases are 2.27.6 and earlier, 2.28.0 through 2.28.5, and 3.0.0 through 3.0.1. The new disclosures are separate from CVE-2024-36401, an earlier GeoServer vulnerability that attackers used to deploy cryptocurrency miners on unpatched systems.

GeoServer Vulnerability

The chain crosses three security boundaries: anonymous access to the Web Feature Service (WFS), administrator access to GeoServer, and command execution with the server process’s permissions.

GeoServer’s security advisory lists five independently fixed issues. CVE-2026-129244 exposes the data-directory path in an error response, CVE-2026-129243 bypasses service authorization, and CVE-2026-120705 covers XML handling that can expose local files.

That file exposure matters because affected releases store authentication material in the data directory. CVE-2026-129245 allows administrator session forgery when the cookie signing key and stored password digest are exposed, even if the administrator’s password remains unknown.

CVE-2026-129242 affects database-backed user and role services: unsafe Java deserialization, the process of rebuilding objects from stored data, can turn administrator access into command execution. CryptoCat rated the combined chain 9.8 under CVSS 3.1; GeoServer scored the session-forgery flaw separately at 9.2 under CVSS 4.0.

Forged Admin Cookie (Source: Cryptocat)

The commands run with the privileges assigned to GeoServer, so the impact depends on how the service is deployed. CryptoCat demonstrated execution as root inside the official GeoServer 3.0.0 container, not on the underlying host.

Earlier incidents show why exposed deployments warrant rapid investigation, CISA documented a U.S. federal agency breach involving the older CVE-2024-36401.

Administrators should upgrade to GeoServer 2.27.7, 2.28.6, or 3.0.2, or a later supported release. Prioritize internet-facing instances and verify the running version on every node.

The update invalidates existing remember-me cookies and moves the signing key out of the data directory. Where an immediate upgrade is not possible, GeoServer recommends removing rememberme from the web filter chain under Security > Authentication as a temporary measure, not a substitute for patching.

Review reverse proxy and application logs for unexpected stored-query activity, especially requests that generate unusual WFS errors. Inspect the global and workspace-specific stored-query directories for unfamiliar files, and review administrative changes for unrecognized database-backed user services.

The earlier GeoServer campaign that monetized victims’ bandwidth also illustrates why responders should check network telemetry alongside application logs. That campaign involved the older flaw and is not evidence of a payload tied to the new chain.

If credential exposure is suspected, change administrator passwords after patching and preserve relevant logs and configuration records for investigation. Treat suspicious stored-query activity as a lead rather than proof of compromise.

Correlate it with unexpected administrator sessions, configuration changes, or host telemetry showing processes launched by GeoServer to determine whether the activity progressed beyond probing.

Join ANY.RUN and Torq to learn how TI Feeds can help your SOC detect up to 30% of malicious IOCs earlier & accelerate investigations -> Attend Free Live Webinar





Source link