Apache Shiro has a session fixation vulnerability
Moderate severity
GitHub Reviewed
Published
May 26, 2026
to the GitHub Advisory Database
•
Updated Jun 30, 2026
Package
Affected versions
>= 1.0.0-incubating, < 2.2.0
= 3.0.0-alpha-1
Patched versions
2.2.0
3.0.0-alpha-2
Description
Published by the National Vulnerability Database
May 25, 2026
Published to the GitHub Advisory Database
May 26, 2026
Last updated
Jun 30, 2026
Reviewed
Jun 30, 2026
Default configurations of Apache Shiro have a session fixation vulnerability.
This issue affects Apache Shiro from 1.0 to 2.1.0, and 3.0.0-alpha-1.
Users are recommended to upgrade to version 2.1.1, or 3.0.0-alpha-2 or later, which fixes the issue.
In the affected versions, when a session already exists, it is not invalidated upon successful login, nor is a new session being generated with a new ID.
References