Session fixation in Apache Shiro when RememberMe is enabled
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-384.
Summary
Apache Shiro versions before 3.0.1 are affected. When a subject is restored from a RememberMe cookie, the existing session is not invalidated and no new session ID is created (CWE-384), and session IDs in the request URL are accepted even when URL rewriting is disabled. A remote unauthenticated attacker who can fix a victim's session ID can reuse that session once the victim is authenticated through RememberMe, which only applies when RememberMe is enabled.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade Apache Shiro to version 3.0.1 or later, which invalidates the existing session and creates a new session ID when a subject is restored from a RememberMe cookie and ignores session IDs in the URL when URL rewriting is disabled.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · CNA Apache Shiro (Apache Software Foundation) Fixed in 3.0.1
- Fix · CNA Apache Shiro (Apache Software Foundation) Fixed in 3.0.1
Timeline
- 2026-11-16 Threatist record created from CVE-2026-74762
- 2026-11-16 Alias added: GHSA-6jmv-8gpp-wvvq
- 2026-11-16 CISA SSVC decision points changed
References
More Apache vulnerabilities
- TI-2025-18529 Path equivalence in Apache Tomcat allows code execution via PUT KEVCVSS 3.1CRITICAL 10.0
- TI-2024-30292 Forced browsing in Apache OFBiz bypasses controller-view authorization KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26062 Incorrect authorization in Apache OFBiz exposes screen rendering code KEVCVSS 3.1CRITICAL 9.8
- TI-2024-21190 Path traversal in Apache OFBiz leads to remote code execution KEVCVSS 3.1CRITICAL 9.8
- TI-2024-18186 Remote command execution in Apache HugeGraph-Server via Gremlin KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25106 Apache ActiveMQ OpenWire deserialization allows remote code execution KEVCVSS 3.1CRITICAL 10.0
Sources
- CVE-2026-74762 · CVE Program
- CVE-2026-74762 · NVD
- GHSA-6jmv-8gpp-wvvq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences