CVE-2026-74762

Apache Shiro: Possible session fixation with RememberMe

Medium published · updated

5.9
CVSS score out of 10 · NVD (apache.org)

Description

Apache Shiro is vulnerable to session fixation when a user is authenticated via the "Remember me" functionality. In affected versions, when a subject is restored from a "Remember me" cookie, the existing session is not invalidated, nor is a new session created with a new ID.
Additionally, session IDs were accepted from the request URL even when session ID URL rewriting was disabled.
This issue affects all Apache Shiro versions through 3.0.0, only when RememberMe functionality is enabled.

Mitigation: Upgrade to version 3.0.1 or later, which fixes the issue by invalidating the existing session and creating a new session with a new ID when a subject is restored from a "Remember me" cookie, and by ignoring session IDs in the URL when URL rewriting is disabled.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
org.apache.shiro:shiro-core maven 0 → <3.0.13.0.1 CVE.org
apache shiro apache software foundation 0 → <3.0.13.0.1 CVE.org
org.apache.shiro:shiro-web maven 0 → <3.0.13.0.1 CVE.org

References