Apache Shiro: Possible session fixation with RememberMe
- State
- Published
- Severity
- 5.9 Medium
- Published
- Nov 16, 2026
- Updated
- Nov 16, 2026
- Reserved
- Aug 15, 2026
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.
| Product | Versions |
|---|---|
| Apache Shiro Apache Software Foundation | before 3.0.1 Affected |
| Apache Shiro Apache Software Foundation | before 3.0.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.9 Medium | apache |
Weaknesses
- CWE-384 Session Fixation
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.