CVE-2026-129245 is a GeoServer flaw rated Critical (CVSS v4.0 9.2 by GitHub) that lets an attacker forge an administrator remember-me cookie. No exploitation or public proof-of-concept has been confirmed. It affects GeoServer 3.0.0 to 3.0.1, 2.28.0 to 2.28.5 and 2.27.6 and earlier, and the fix is in 3.0.2, 2.28.6 and 2.27.7.
What is CVE-2026-129245?
GeoServer uses a remember-me cookie to keep users logged in. The server signs that cookie with a key, plus the username, an expiry time and the stored password digest. In affected versions, the key sits in security/config.xml inside the data directory.
According to the GeoServer security advisory GHSA-hgm3-wq4h-8vvq, the release data directory ships with a default key that most installations never change. An attacker who holds that key and an administrator’s password digest can build a cookie that GeoServer accepts as an administrator login. The attacker never needs the password.
No login or user interaction is required. The CVSS vector still marks “attack requirements present”, because the attacker must first get the digest, for example through a file disclosure. GitHub scores the flaw 9.2 with the vector CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N. The weaknesses are CWE-321 (hard-coded cryptographic key) and CWE-798 (hard-coded credentials). We could not retrieve an NVD assessment from the NVD record for CVE-2026-129245, so GitHub’s score is the only one we can report.
Technical details
The class GeoServerTokenBasedRememberMeServices checks the cookie signature with the key from the rememberMeService section of security/config.xml. The signature uses the stored password digest, not the password itself. The digest and the key together are therefore enough to forge a valid cookie. The advisory adds that changing the key does not help if the same disclosure also reveals the key.
Step 4 of a five-step attack chain
The advisory calls this flaw step 4 of an unauthenticated remote command execution chain. At the request of the CVE Numbering Authority, GeoServer fixed each step separately and gave each one its own CVE. The table lists all five, with scores taken from each GitHub advisory.
| Step | CVE | Advisory | Flaw | CVSS (GitHub) |
|---|---|---|---|---|
| 1 | CVE-2026-129244 | GHSA-4v26-c537-jvxc | A WFS stored query error message reveals the absolute data directory path (CWE-209) | v4.0 6.9 Moderate |
| 2 | CVE-2026-129243 | GHSA-rv5g-g2r9-58rj | A prefixed service name such as x/WFS bypasses service security rules; by default, unauthenticated users can create and delete WFS stored queries (CWE-863) | v4.0 8.8 High |
| 3 | CVE-2026-120705 | GHSA-39mw-5chv-jh47 | Unauthenticated XML injection in WFS GetFeatureById that can read local files or make the server fetch URLs (CWE-91, CWE-611, CWE-918) | v3.1 8.6 High |
| 4 | CVE-2026-129245 | GHSA-hgm3-wq4h-8vvq | Predictable remember-me key allows administrator session forgery (CWE-321, CWE-798) | v4.0 9.2 Critical |
| 5 | CVE-2026-129242 | GHSA-9wf2-fcgq-vxhq | Deserialization in JDBC user and role services lets an administrator, or anyone holding an admin session, run code with the GeoServer process privileges (CWE-502) | v4.0 8.6 High |
At a high level, the early steps let an outsider read data from the server. Step 4 turns that data into an administrator session. Step 5 turns administrator access into code execution.
A second chain also runs through this flaw. In its research write-up, Eye Security researcher Niels Teusink describes three CVEs used together: the CVE-2026-120705 file read, the CVE-2026-129245 cookie forgery, and CVE-2026-120704, an administrator-controlled SQLite JDBC extension loading bug. Eye Security says this chain works on the default configuration on both Linux and Windows.
The GeoServer advisory credits Crypto-Cat as the reporter of CVE-2026-129245. Andrea Aime (aaime) developed the fix, and Jody Garnett coordinated the release. Eye Security says it found the bugs with the help of AI and that another researcher reported the same issues.
Is CVE-2026-129245 being exploited?
No vendor, CERT or security company has reported exploitation of CVE-2026-129245, and we found no CISA KEV entry for it. No public proof-of-concept has been confirmed. Eye Security did not release exploit code; it showed only a demo animation of its chain.
Eye Security says it identified more than 3,000 internet-accessible GeoServer instances. It also warns that attackers with capable AI models could find the same bugs by comparing the patched and unpatched code.
Affected and fixed versions
The versions below come from the GeoServer advisory for the Maven package org.geoserver:gs-main.
| Product | Branch | Affected versions | Fixed version |
|---|---|---|---|
| GeoServer | 3.0.x (stable) | 3.0.0 through 3.0.1 | 3.0.2 |
| GeoServer | 2.28.x (maintenance) | 2.28.0 through 2.28.5 | 2.28.6 |
| GeoServer | 2.27.x and earlier | 2.27.6 and earlier | 2.27.7 |
The other four chain CVEs list the same fixed versions: 3.0.2, 2.28.6 and 2.27.7. CVE-2026-120705 also needs the GeoTools gt-metadata fix in 33.7, 34.6 or 35.2, which ships with those GeoServer releases.
One detail can mislead administrators. The GeoServer 3.0.2 release announcement lists CVE-2026-129245 as Critical. The 2.28.6 announcement lists 16 CVEs and does not mention it, and the 2.27.7 announcement has the same 16. The advisory still names 2.28.6 and 2.27.7 as patched. The fix was backported in pull requests #10010 (2.28.x) and #10011 (2.27.x), according to pull request #10008.
How to fix CVE-2026-129245
Upgrade to GeoServer 3.0.2, 2.28.6 or 2.27.7. GeoServer published all three releases on October 19, 2026. The 2.27 series had already reached end-of-life, as the 2.27.6 announcement states, so 2.27.7 users should plan a move to a supported branch.
After the upgrade, GeoServer no longer stores the remember-me key in the data directory. Each node uses its own random key. Existing remember-me cookies stop working, so users must log in again.
Clusters need one extra step. Pull request #10008 added a configurable key so that cookies issued by one node work on the others. Set a shared key with the GEOSERVER_REMEMBERME_KEY application property. If you think an administrator password digest or the data directory was exposed, change administrator passwords.
If you cannot patch yet
- Remove
remembermefrom thewebfilter chain under Security > Authentication. - Or set the key in
security/config.xmlto a long random value, and protect the data directory from disclosure. - Restrict WFS access for anonymous users, or disable WFS if you do not need it (CVE-2026-120705 advisory).
- At a proxy, block requests whose
serviceparameter contains a “/” (CVE-2026-129243 advisory). - Limit administrator access to trusted users, and restrict the
/rest/resourceand/rest/securityREST endpoints to trusted networks (CVE-2026-129242 advisory).
How to check if you are affected
Eye Security points to the “About GeoServer” page in the web interface. Its “Build Information” section shows the installed version. Any version in the affected table is vulnerable.
Next, check whether rememberme is still in the web filter chain. Then open the rememberMeService section of security/config.xml. If nobody changed the key after installation, the advisory indicates it is still the shipped default. The CVE-2026-129243 advisory also suggests reviewing the wfs/query and workspaces/*/wfs/query folders for stored queries you did not create.
Why it matters
This flaw turns a file disclosure into an administrator login. The same releases fix several file-read and SSRF bugs, which shows the digest was reachable without credentials. Rotating the key alone is not enough if the attacker can read the file that holds it.
GeoServer is a frequent target. The Hacker News reported exploitation attempts against a GeoServer SQL injection zero-day in August 2026, citing watchTowr. The same report recalls that CVE-2024-36401 was exploited to build botnets. CVE-2025-58360, an XXE flaw, is in the CISA KEV catalog.
The release notes gap matters too. An administrator who reads only the 2.28.6 announcement may not know this Critical flaw affects 2.28.x. GeoServer has not explained why the 2.28.6 and 2.27.7 posts omit it.
Timeline
| Date | Event |
|---|---|
| September 24, 2026 | Pull request #10008 (configurable remember-me key) merged into the main branch |
| September 29, 2026 | Eye Security reports its findings to GeoServer |
| October 19, 2026 | GeoServer releases 3.0.2, 2.28.6 and 2.27.7 |
| November 23, 2026 | GeoServer publishes the five chain advisories, including GHSA-hgm3-wq4h-8vvq |
| November 24, 2026 | Eye Security publishes its research write-up |