How to Check GeoServer for Compromise After CVE-2026-120705
Security Intermediate 6 min read

How to Check GeoServer for Compromise After CVE-2026-120705

Step-by-step GeoServer compromise check after the CVE-2026-120705 chain: stored queries, logs, admin accounts, JDBC services, then upgrade and rotate secrets.

Published: November 28, 2026 • Updated: November 28, 2026
geoserverincident responsegiscompromise assessment

To check a GeoServer for compromise after CVE-2026-120705 and the rest of the November 2026 chain, look for four things: stored queries you did not create in the data directory, WFS requests with a slash in the service parameter in your logs, administrator activity you cannot account for, and new JDBC user group or role services or REST uploads. Then upgrade to 3.0.2, 2.28.6 or 2.27.7, rotate administrator passwords and any secrets the GeoServer process could read. This guide walks through each check using only what GeoServer's advisories and the CISA listing give you.

Why a GeoServer compromise check is needed, not just a patch

CISA added two of the five chain CVEs to the Known Exploited Vulnerabilities catalog on 27 November 2026, and watchTowr reported probes against both across its honeypot network two days earlier. The fixed releases came out in October. Any internet-facing GeoServer that ran an older version between the October release and your upgrade was exposed while the flaws were public. Upgrading closes the door; it does not tell you whether someone walked through it. Details of the chain are in the news report on the GeoServer KEV listing.

Work through the checks below before or immediately after upgrading. Preserve copies of anything suspicious before you delete it.

Step 1: Inventory every GeoServer and its version

List every instance, including GeoServer embedded in commercial GIS products, GeoServer Cloud deployments, and test or staging copies that are reachable from outside. The version appears on the welcome page of the web administration interface and in the server status page. Anything at 2.27.6 or older, 2.28.0 to 2.28.5, or 3.0.0 to 3.0.1 is affected by all five chain CVEs.

For each instance, note whether WFS answers anonymous requests from the internet. Those are the servers exposed to the two KEV-listed steps.

Step 2: Check the data directory for stored queries you did not create

GeoServer's advisory for CVE-2026-129243 says to review the wfs/query folder and the workspaces/*/wfs/query folders of the data directory for stored queries you did not create. This is the most specific artifact the chain leaves. The authorization bypass let anonymous users call CreateStoredQuery, and stored queries created that way were the entry point for the file read in CVE-2026-120705.

Compare what is in those folders against what your GIS team has deliberately defined. Most deployments have none, or a handful with meaningful names. Files with random names, recent modification times you cannot explain, or definitions referencing paths and URLs you do not recognize are red flags. Copy them off the server for analysis, record their timestamps, then remove them.

How do you find exploitation attempts in GeoServer logs?

Search your reverse proxy and GeoServer request logs for WFS requests whose service parameter contains a slash, such as a value with a prefix before the service name, and for CreateStoredQuery or DropStoredQuery operations from addresses you do not recognize. Go back to the October 2026 release date at minimum.

GeoServer's own mitigation for the authorization bypass is to block requests whose service parameter contains /, in the query string or in the service attribute of an XML request body, at a proxy in front of GeoServer. The same pattern is your detection signature. Legitimate OGC clients send service=WFS, service=WMS and so on, never a slash, so any hit is worth a look.

Also look for GetFeature requests referencing the GetFeatureById stored query with unusually long or structured ID values, and for WFS exception responses that would have carried file contents. If your logs only record the request line, the exception body will not be there, but the request pattern still is. If the GeoServer request log was not enabled, say so in your incident notes; it is a gap to close.

Step 3: Review administrator accounts and sessions

The remember-me flaw (CVE-2026-129245) let an attacker with the shipped default key and a password digest forge an administrator session without the password. That means a compromise would show up as administrator actions rather than failed logins.

  • Check the user list for accounts you did not create and roles that changed.
  • Check the authentication configuration under Security > Authentication for new filters or changes to the web filter chain.
  • Check Security > Users, Groups, Roles for new user group services or role services, especially JDBC-backed ones. CVE-2026-129242 used an administrator-created JDBC user group service pointed at an uploaded HSQLDB database.
  • Check the data directory for database files or other uploads you did not place there. GeoServer's advisory notes the REST API lets an administrator upload a file to the data directory through /rest/resource.
  • Review REST API access logs for calls to /rest/resource and /rest/security from unexpected sources.

If the remember-me key in security/config.xml is still the shipped value geoserver on a pre-upgrade server, treat step 4 of the chain as reachable, not theoretical. Background on why this works is in what a remember-me cookie is and why it is a session forgery risk.

Step 4: Upgrade and apply the fixes

Upgrade every instance to GeoServer 3.0.2, 2.28.6 or 2.27.7. GeoServer says no manual steps are needed for the chain fixes: service security now checks the resolved service id, stored query parsing uses the entity resolver, user and role property values are read as text, overlong stored query ids are rejected, and the remember-me key moves out of the data directory to a random per-node value. Existing remember-me cookies are invalidated on upgrade. Clusters set a shared key with the GEOSERVER_REMEMBERME_KEY application property.

The 2.27 series is no longer a supported branch. If you land on 2.27.7, schedule the move to 2.28 or 3.0.

If you cannot upgrade immediately, apply the vendor mitigations: restrict or disable WFS for anonymous users, block slash-containing service parameters at the proxy, remove rememberme from the web filter chain, and restrict the REST resource and security endpoints to trusted networks.

What should you rotate after a GeoServer compromise?

Rotate administrator passwords, and rotate every secret the GeoServer process could read from disk, because CVE-2026-120705 read files with the process's permissions. That includes database credentials in data store definitions and any keys or tokens stored in the data directory.

GeoServer's remember-me advisory says to change administrator passwords if you suspect exposure. Go further on a server that showed any of the artifacts above. Data store connection parameters in the data directory hold the credentials GeoServer uses to reach PostGIS, Oracle and other backends. Assume those were readable. Rotate them at the database and update the stores. If the server held API keys for tile services or cloud storage, rotate those as well.

Step 5: Decide whether to rebuild

A server that shows only probe traffic in the logs and clean stored query folders can be upgraded in place. A server with unexplained stored queries, new administrator accounts, new JDBC security services, or uploaded database files should be treated as compromised through step 5, which is code execution as the GeoServer service account. At that point the honest option is to rebuild from a clean install, restore the data directory from a backup predating the suspicious activity, and re-apply configuration by hand after reviewing it.

Document what you found and when. If the server belongs to a public body, the record may matter for disclosure obligations, and the longer view in why GIS map servers need the same patch rules as core infrastructure covers how to stop repeating this exercise.