5.9medium
Apache Shiro: Session fixation: new session is not created after login by default
- Severity
- 5.9medium CVSS:4.0 by apache
- Exploit likelihood
- 0.53% (higher than 38% of CVEs)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-fcvm-3cpj-f9qx
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| org.apache.shiro:shiro-core | from 1.0 up to 2.1.0, from 3.0.0-alpha-0 up to 3.0.0-alpha-1 | CVE List |
| org.apache.shiro:shiro-core (Maven) | from 1.0.0-incubating before 2.2.0, from 3.0.0-alpha-1 before 3.0.0-alpha-2 | GitHub Advisory Database |
| apache shiro | before 2.1.1, 3.0.0 | NVD |
All scores
| apache | 5.9medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N/AU:Y/R:U/RE:L/U:Amber |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N/RE:L/U:Amber |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Las configuraciones predeterminadas de Apache Shiro tienen una vulnerabilidad de fijación de sesión. Este problema afecta a Apache Shiro desde 1.0 hasta 2.1.0, y 3.0.0-alpha-1. Se recomienda a los usuarios actualizar a la versión 2.1.1, o 3.0.0-alpha-2 o posterior, que soluciona el problema. En las versiones afectadas, cuando una sesión ya existe, no se invalida tras un inicio de sesión exitoso, ni se genera una nueva sesión con un nuevo ID.
References
| https://shiro.apache.org/security-reports.html#cve_2026_43827 | vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2026/05/25/6 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-43827 | advisory | |
| https://github.com/apache/shiro | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43827 changed 2026-05-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fcvm-3cpj-f9qx changed 2026-06-30 | CC-BY-4.0 |
| NVD | CVE-2026-43827 changed 2026-07-24 | Public domain |