Skip to content
GHSA Hgm3 Wq4h 8vvq

GHSA Hgm3 Wq4h 8vvq

github.com • November 25, 2026

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:

CVE-2026-129244 : WFS stored query exception discloses data directory path

CVE-2026-129243 : Service security rules bypassed with a prefixed service name such as x/WFS

CVE-2026-120705 : Unauthenticated WFS GetFeatureById XML injection

CVE-2026-129245: Predictable remember-me key allows administrator session forgery

CVE-2026-129242 : Deserialization in JDBC user and role services allows administrator code execution

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.

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.

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.

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.