CVE Watchtower

CVE-2026-129245org.geoserver:gs-main Use of Hard-coded Cryptographic Key

NVD

Vulnerability Summary

The remember-me cookie is signed with a key, together with the user name, expiry and stored password digest. This key was read from `security/config.xml` in the data directory, and the release data directory ships with the key `geoserver`, which most installations never change. Anyone who knows the key and an administrator password digest, for example from a file disclosure, could create a remember-me cookie that GeoServer accepts as an administrator login, without knowing the password. This was reported as step 4 of an unauthenticated remote command execution chain. At the request of the CVE Numbering Authority each step of the chain is fixed separately, released in GeoServer 3.0.2: 1. CVE-2026-129244: WFS stored query exception discloses data directory path 2. CVE-2026-129243: Service security rules bypassed with a prefixed service name such as x/WFS 3. CVE-2026-120705: Unauthenticated WFS GetFeatureById XML injection 4. CVE-2026-129245: Predictable remember-me key allows administrator session forgery 5. CVE-2026-129242: Deserialization in JDBC user and role services allows administrator code execution Impact An attacker who obtains an administrator password digest, through any file disclosure or a copy of the data directory, can log in as that administrator. Changing the key in `security/config.xml` does not help when the same file disclosure also reveals the key. Details `GeoServerTokenBasedRememberMeServices` validates the cookie signature with the key from the `rememberMeService` section of `security/config.xml`. The signature uses the stored password digest, not the password, so the digest and key are enough to forge a cookie. Mitigation Remove `rememberme` from the web filter chain (Security > Authentication, filter chain `web`). Otherwise change the key in `security/config.xml` to a long random value, and protect the data directory from disclosure. Resolution Patched for: GeoServer 3.0.2 GeoServer 2.28.6 GeoServer 2.27.7 The remember-me key is no longer stored in the data directory: each node uses a random key, existing remember-me cookies are invalidated on upgrade, and a cluster sets a shared key with the `GEOSERVER_REMEMBERME_KEY` application property. If you suspect exposure, change administrator passwords. References #10008 * Remember me
Severity Level
CRITICAL(9.2)
Published Date
Nov 23, 2026
Last Modified
Nov 23, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
The use of a hard-coded cryptographic key significantly increases the possibility that encrypted data may be recovered.
The software contains hard-coded credentials, such as a password or cryptographic key, which it uses for its own inbound authentication, outbound communication to external components, or encryption of internal data.
CVSS v4.0 Base Metrics — Score 9.2
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
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None

Affected & Patched Versions

Affected Versions
  • org.geoserver:gs-main >= 3.0.0, <= 3.0.1
  • org.geoserver:gs-main >= 2.28.0, <= 2.28.5
  • org.geoserver:gs-main <= 2.27.6
Patched Versions
  • org.geoserver:gs-main 3.0.2
  • org.geoserver:gs-main 2.28.6
  • org.geoserver:gs-main 2.27.7

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is critical.

  1. Check whether you run org.geoserver:gs-main and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 23, 2026Published
  • Nov 23, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new org.geoserver:gs-main CVEsYou are reading CVE-2026-129245. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 25, 2026 23:01 UTC