GeoServer CVE-2026-120705 Chain Exploited, Added to KEV
GeoServer CVE-2026-120705 and a second flaw hit CISA KEV on 27 November 2026 as steps in a chain to unauthenticated RCE. Upgrade to 3.0.2, 2.28.6 or 2.27.7.
CISA added GeoServer CVE-2026-120705 and CVE-2026-129243 to the Known Exploited Vulnerabilities catalog on 27 November 2026, with a federal fix deadline of 30 November. Both flaws need no login, and CISA says they chain with three more GeoServer bugs to reach unauthenticated remote code execution. The fix shipped in October: GeoServer 3.0.2, 2.28.6 and 2.27.7. If you publish maps with GeoServer, upgrade this weekend and check the data directory for stored queries you did not create.
What happened
GeoServer, the Open Source Geospatial Foundation's server for publishing maps and spatial data over OGC web services, released its October 2026 updates with security fixes but without details. On 23 November the project published the GitHub security advisories and a blog post explaining what the releases fixed. Twelve CVEs were listed for the October releases alone, plus two from earlier releases.
Five of them were reported to the project as a single chain. GeoServer says the reporter submitted it as a path to unauthenticated remote command execution, and at the direction of the CVE Numbering Authority each step was given its own CVE:
- CVE-2026-129244 (Medium, CVSS 4.0 6.9): a WFS stored query request with an overlong id returned an exception report containing the absolute path of the data directory.
- CVE-2026-129243 (High, CVSS 4.0 8.8): a service parameter with a prefix, such as
x/WFS, was resolved to WFS by the dispatcher, but service security checked the unresolved name. No rule matched, so operations that only service security protected ran with no role check. In the default configuration that means anonymous users could create and delete WFS stored queries. - CVE-2026-120705 (High, CVSS 3.1 8.6): the built-in WFS 2.0 GetFeatureById stored query substituted the caller's ID parameter into an XML template without escaping, then parsed the result without GeoServer's entity resolver. One unauthenticated request could read a local text file readable by the GeoServer process or fetch an attacker-chosen HTTP or HTTPS URL, with the content echoed in an error response when a layer is published anonymously.
- CVE-2026-129245 (Critical, CVSS 4.0 9.2): the remember-me cookie was signed with a key read from
security/config.xmlin the data directory. The release data directory shipped with the keygeoserver, which GeoServer says most installations never change. Anyone holding that key and an administrator's stored password digest could forge a cookie that GeoServer accepted as an administrator login, without knowing the password. - CVE-2026-129242 (High, CVSS 4.0 8.6): the JDBC user group and role services read property values with
ResultSet.getObject(). An administrator could point a service at an uploaded HSQLDB database whose values were serialized Java objects, which were deserialized, executing code with the privileges of the GeoServer process.
Put together, steps 1 to 3 give an anonymous visitor the data directory path and the ability to read files in it, step 4 turns a leaked password digest plus the default key into an administrator session, and step 5 turns administrator access into code execution. Only the two unauthenticated steps, 2 and 3, are on the KEV list so far.
Who is affected
Every GeoServer release before the October fixes is affected for all five CVEs: 2.27.6 and older, 2.28.0 through 2.28.5, and 3.0.0 through 3.0.1. CVE-2026-120705 also has a GeoTools component, fixed in GeoTools 33.7, 34.6 and 35.2.
GeoServer's blog post names 3.0.x as the current stable series and 2.28.x as the current maintenance series. The 2.27 series got a 2.27.7 release for this issue, but it is no longer a supported branch, so treat 2.27.7 as a stopgap and plan the move to 2.28 or 3.0.
The servers most exposed are the ones that answer anonymous WFS requests from the internet. That describes a lot of public map portals run by municipalities, utilities, transport agencies, environmental bodies and engineering firms, and GeoServer often ships inside commercial GIS products under another name. Count those too.
How we know GeoServer CVE-2026-120705 is being exploited
CISA's criterion for KEV is evidence of active exploitation, and its 27 November alert lists both GeoServer CVEs alongside a Drupal core flaw. Rescana's write-up quotes a watchTowr post from the morning of 25 November saying its honeypot network observed in-the-wild exploitation of CVE-2026-120705 and CVE-2026-129243, in the form of probes checking whether a server is vulnerable. The same write-up cites a Canadian Centre for Cyber Security bulletin from 25 November that reports exploitation based on open-source reporting.
None of the sources we read name an actor, give a count of affected servers, or report the later steps of the chain (129244, 129245, 129242) being used in the wild. GeoServer's own advisories do not mention exploitation. As of 27 November, CVE.org returned no published record for any of the five IDs, so the severity ratings above are GeoServer's own.
Technical analysis
Two design details made this chain work, and both are worth checking in software you run beyond GeoServer.
First, the authorization check and the dispatcher disagreed about what the request was. The dispatcher stripped everything before the slash to pick a service, while the security callback matched rules against the raw string. When two components normalize input differently, the stricter one is usually the one that gets bypassed. GeoServer's fix makes the dispatcher write the resolved service id back into the request before security checks run.
Second, a default secret shipped in a config file became a credential. The remember-me signature used the stored password digest rather than the password, so a file read plus a known key was enough to mint an administrator cookie. Changing the key in security/config.xml only helps if attackers cannot read that file, and step 3 reads files. The fixed releases stop storing the key in the data directory at all: each node generates a random key, existing remember-me cookies are invalidated on upgrade, and clustered deployments set a shared key with the GEOSERVER_REMEMBERME_KEY application property. The site has a longer explainer on why remember-me cookies are a session forgery risk.
The XML injection step itself is a close relative of the flaws covered in what XML injection is and why it leads to file reads. GeoServer's remedy was to route stored query parsing through its entity resolver and to make the GeoTools PreventLocalEntityResolver check redirects.
What to do now
- Upgrade. Move every GeoServer to 3.0.2, 2.28.6 or 2.27.7. These releases fix all five chain CVEs and the other October issues. No manual steps are needed after the upgrade for the chain fixes.
- If you cannot upgrade today, apply GeoServer's mitigations. Restrict or disable WFS for anonymous users in service security, or disable WFS entirely if nothing needs it. At a proxy in front of GeoServer, block requests whose
serviceparameter contains a slash, in the query string or in the service attribute of an XML body. Removeremembermefrom the web filter chain under Security > Authentication. Restrict the REST API/rest/resourceand/rest/securityendpoints to trusted networks. - Check for stored queries you did not create. GeoServer's advisory says to review the
wfs/queryandworkspaces/*/wfs/queryfolders of the data directory. A stored query you cannot account for is the clearest artifact this chain leaves. - Rotate administrator passwords if you suspect exposure. GeoServer says this directly in the remember-me advisory. Also rotate anything the GeoServer process could read, such as database credentials in data store definitions, because step 3 reads files with the process's permissions.
- Review logs back to the October release date for WFS requests with a slash in the service parameter, stored query creation from unfamiliar addresses, new JDBC user group or role services, and files uploaded through the REST API.
A full walkthrough is in how to check a GeoServer for compromise after CVE-2026-120705.
Why this keeps happening to map servers
This is GeoServer's third KEV appearance since July 2024, after CVE-2024-36401 (added 15 July 2024) and CVE-2025-58360 (added 11 December 2025). The software is often deployed once by a GIS team, exposed to the public so the map works, and then left outside the patch cycle the server team applies to everything else. GeoServer's own guidance is to upgrade to a supported release at least once a year. The releases that fixed this chain were available for five weeks before the advisories were published, and the advisories were out for four days before the KEV listing. The gap between "patch exists" and "patch applied" is the whole story here, and why GIS map servers need the same patch rules as core infrastructure goes into how to close it.
What to watch next
- CVE.org and NVD records for the five IDs, which will carry independent CVSS scores.
- Whether CISA adds CVE-2026-129245 or CVE-2026-129242 to KEV, which would indicate the full chain is being run, not just probed.
- Any GeoServer statement on indicators of compromise beyond the stored query check.
- Fixes in downstream products that bundle GeoServer, which may lag the upstream releases.
Sources
- CISA: Adds Three Known Exploited Vulnerabilities to Catalog, 27 November 2026
- GeoServer: Security Update, November 2026
- GeoServer advisory GHSA-39mw-5chv-jh47: Unauthenticated WFS GetFeatureById XML injection
- GeoServer advisory GHSA-rv5g-g2r9-58rj: Service security rules bypassed with a prefixed service name
- GeoServer advisory GHSA-hgm3-wq4h-8vvq: Predictable remember-me key allows administrator session forgery
- GeoServer advisory GHSA-9wf2-fcgq-vxhq: Deserialization in JDBC user and role services
- GeoServer advisory GHSA-4v26-c537-jvxc: WFS stored query exception discloses data directory path
- Rescana: GeoServer CVE-2026-120705 and CVE-2026-129243 Exploited
- Shattered: CISA KEV Adds 2 GeoServer Flaws, Upgrade to 3.0.2