News Analysis 9 min read

GeoServer Exploitation Makes Five Flaws One Incident

CISA added two GeoServer flaws to KEV, but they sit inside a five-step path to code execution. Patch full branches, audit WFS and rotate trust.

By Protocol Report Editorial | Updated November 28, 2026
An amber five-stage path crosses a map-service clue, authorization gate, XML document, remembered session key and server execution panel while a cyan path inventories GeoServer instances, updates releases, restricts public services, reviews stored queries, rotates credentials and validates clean map layers
Short Version

CISA added CVE-2026-120705 and CVE-2026-129243 to its Known Exploited Vulnerabilities catalog on November 27, according to an updated Canadian Centre for Cyber Security advisory. The two GeoServer flaws are serious on their own: one lets an unauthenticated caller bypass service-level authorization by changing how a service name is expressed, and the other lets a public WFS request read local text files or fetch attacker-selected URLs through XML injection. GeoServer 2.27.7, 2.28.6 and 3.0.2 contain the fixes.

Operators should not reduce this event to two isolated CVEs. GeoServer documents both flaws as stages in a five-step path that can move from a disclosed data-directory path to service-rule bypass, file read, administrator session forgery and code execution through a JDBC security service. CISA's entries establish exploitation of the two listed vulnerabilities, not proof that every observed attack completed the entire chain. Response should still preserve evidence, update the full application, review WFS stored queries and administrative activity, change administrator passwords when file or session exposure is plausible, and rebuild the server if host-level execution is confirmed.

Key Takeaways

  • check_circle CISA added CVE-2026-120705 and CVE-2026-129243 to KEV on November 27; the Canadian Cyber Centre identifies November 30 as the federal remediation deadline through the linked catalog entries.
  • check_circle The authorization flaw can expose operations protected only by GeoServer service rules, including creation and deletion of WFS stored queries in the default configuration.
  • check_circle The XML-injection flaw can read local text files or make HTTP and HTTPS requests from the GeoServer process through one unauthenticated WFS request.
  • check_circle GeoServer documents a five-stage route from path disclosure to administrator session forgery and JDBC deserialization, but KEV status currently applies to only two stages.
  • check_circle Fixed floors are GeoServer 2.27.7, 2.28.6 and 3.0.2; GeoTools consumers need 33.7, 34.6 or 35.2 for the XML-injection fix.
  • check_circle Patching closes the published paths but does not remove unauthorized stored queries, invalidate evidence or prove that administrator and host authority were unused.

Two KEV Entries Sit Inside A Larger Trust Failure

The Canadian Cyber Centre updated its GeoServer advisory on November 27 after CISA placed CVE-2026-120705 and CVE-2026-129243 in the Known Exploited Vulnerabilities catalog. The update says open-source reporting indicates both flaws are being exploited in the wild. That is the strongest current public status signal, and it changes the response from ordinary release planning to immediate exposure review and remediation.

The scope of that signal must remain precise. KEV inclusion means CISA has evidence of active exploitation for the two cataloged CVEs. It does not, by itself, say which actors are involved, how many servers are affected, what payloads ran or whether attackers completed the five-step chain that GeoServer's advisories describe. Those details remain unknown in the primary public notices reviewed for this article.

GeoServer published the vulnerability details on November 23 after shipping corrected releases in October under coordinated disclosure. Its project post lists a broad security update, including SSRF, file read, file write, authorization, session and code-execution weaknesses. Updating only a Web Application Firewall signature for the two KEV entries would leave the application on a release carrying the rest of that set. The supported response is to install the fixed GeoServer branch, then investigate according to exposure and evidence.

A Service Name Mismatch Opens Protected WFS Operations

CVE-2026-129243 arises because two parts of GeoServer interpreted a prefixed service name differently. The dispatcher stripped the prefix and selected WFS, while the service-security check compared its rules against the unresolved value. A request could therefore reach the real service while avoiding the rule that should have required a role. GeoServer scores the issue 8.8 under CVSS 4.0 and says no authentication or user interaction is required.

The default service rules reserve CreateStoredQuery and DropStoredQuery for administrators. On affected releases, an anonymous caller could create or delete WFS stored queries through the mismatch. Installations that used the same service-security layer to restrict other operations, including WFS Transaction, could lose those checks too. Layer and data rules remain separate, so the flaw should not be described as a universal bypass of every GeoServer authorization decision.

The project recommends a temporary proxy rule that blocks a slash inside the service parameter, whether the value arrives in a query string or an XML request. It also directs operators to inspect `wfs/query` and workspace-specific WFS query directories for stored queries they did not create. That directory review matters after patching because corrected request dispatch does not remove artifacts created while the bypass was reachable.

One Public WFS Request Can Cross Into Local Files

CVE-2026-120705 affects the built-in WFS 2.0 GetFeatureById stored query. The vulnerable code inserted the caller's ID value into an XML template without escaping it and parsed the result without GeoServer's protective entity resolver. An unauthenticated caller could inject additional XML that caused the server to read a local text file or retrieve an attacker-selected HTTP or HTTPS URL. When an anonymous layer is available, the resulting error could echo the fetched text to the caller.

This stage does not require a custom stored query or the CreateStoredQuery permission. That distinction is important: CVE-2026-120705 is independently useful for file read and server-side request forgery, even though GeoServer also documents it within the longer chain. Restricting public WFS access reduces reachability while maintenance is arranged, but it is a compensating control rather than a code fix.

The corrected releases parse stored queries through the GeoServer entity resolver, and the corresponding GeoTools change checks redirects. GeoServer fixes are 2.27.7, 2.28.6 and 3.0.2. Applications that embed the affected GeoTools metadata component outside GeoServer need the matching 33.7, 34.6 or 35.2 floor rather than assuming that a GeoServer package inventory covers every copy.

The Five Stages Turn File Read Into Server Authority

GeoServer's chain begins with CVE-2026-129244, an error response that can disclose the absolute data-directory path. Next, CVE-2026-129243 can bypass service rules, and CVE-2026-120705 can read files. The fourth stage, CVE-2026-129245, concerns the remember-me signing key. Older release data directories ship with a predictable value that many installations never change, and the signed cookie also uses the stored password digest. A file disclosure that obtains the configuration and an administrator digest can therefore support an administrator cookie without the password.

Changing only the old remember-me key is not a complete answer if the same file-read path can disclose its replacement. In the fixed releases, each node generates a random key outside the data directory, existing remember-me cookies are invalidated during upgrade, and clusters can receive a shared key through an application property. GeoServer advises changing administrator passwords when exposure is suspected.

The final documented stage is CVE-2026-129242. The JDBC user and role services could deserialize Java objects stored in an uploaded HSQLDB database when loading property values. An administrator, or an attacker controlling an administrator session, could use that behavior to run code with the operating-system privileges of GeoServer. The patch reads those values as text. The chain shows why a low-impact path leak and an apparently administrative-only deserialization flaw cannot be triaged independently when public stages can bridge the authority between them.

Upgrade The Whole Server And Prove Every Instance Moved

The project names three fixed releases: 2.27.7 for the maintenance branch, 2.28.6 for the stable branch and 3.0.2 for the current major branch. Those releases address the five-stage chain as well as multiple other October fixes. Inventory production, standby, test, disaster-recovery and containerized deployments. Include GeoServer copies packaged inside geospatial platforms, images or managed appliances whose version may not be visible in the main asset database.

Record the running application version, the deployed archive or image digest, enabled extensions, published anonymous services and the data-directory location before changing the system. Upgrade through the supported path, restart the actual runtime and verify the version from the live service. Remove or replace old container tags, golden images and recovery artifacts so the vulnerable build cannot return during scaling or rollback.

After maintenance, make negative tests part of the proof. Confirm that anonymous callers cannot invoke protected service operations, that public WFS access matches policy, that stored-query XML cannot retrieve local or remote content and that old remember-me cookies no longer authenticate. Check every node in a cluster because a load balancer can conceal an unpatched member until traffic shifts.

Response Scope Depends On Evidence Of Authority Used

Preserve reverse-proxy, application, WFS, authentication, REST API, operating-system, database and outbound network logs before routine rotation or a hurried rebuild. Look for unusual prefixed service values, stored-query creation or deletion, unexpected WFS errors, file and URL retrieval from the GeoServer process, new or unexplained administrator sessions, REST resource uploads, JDBC security-service changes and child processes. A single error or worker restart is a lead to correlate, not proof that the full chain succeeded.

For an exposed but quiet instance, update immediately, restrict unnecessary public services and retain the evidence reviewed. If file disclosure or administrator-session misuse is plausible, change administrator passwords from a clean path, invalidate sessions, replace relevant application secrets and inspect the data directory against a trusted baseline. Review the service account's readable files and reachable internal URLs to define what the disclosure stage could have accessed without claiming that all of it was taken.

Confirmed code execution changes the recovery standard. Replace or rebuild the host or container from trusted artifacts, rotate credentials available to the process, inspect connected databases and storage, compare published layers and styles with known-good state and review downstream access from the server. Document which chain stages were observed and which telemetry was absent. That preserves the difference between an exploited entry point, an administrator takeover and a verified host compromise.

Checklist

  • Inventory every GeoServer and embedded GeoTools deployment, including standby, test, container and recovery copies.
  • Update GeoServer to 2.27.7, 2.28.6 or 3.0.2 and follow vendor-specific guidance for bundled products.
  • Until patched, restrict anonymous WFS access and block service parameters containing a slash at the front proxy.
  • Preserve proxy, application, authentication, REST, system and egress logs before maintenance changes the evidence.
  • Review WFS stored-query directories, administrator sessions, REST uploads, JDBC security configuration and child processes.
  • Change administrator passwords and rotate exposed application trust when file or session disclosure is plausible.
  • Rebuild confirmed host compromises and verify live versions, negative authorization tests and every cluster node before closure.

Sources

Related Articles

Continue Reading