Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-43827 EUVD-2026-31736GHSA-fcvm-3cpj-f9qx

Apache Shiro: Session fixation: new session is not created after login by default

Published May 25, 2026 · Updated May 26, 2026 · Assigned by apache

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 products

VendorProductAffectedFixed
Apache Software Foundation Apache Shiro 1.0 – ≤ 2.1.0, 3.0.0-alpha-0 – ≤ 3.0.0-alpha-1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 shiro No fix yet —
Debian 13 shiro No fix yet —
Debian 12 shiro No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 shiro No fix yet —
Ubuntu 26.04 LTS shiro No fix yet —
Ubuntu 25.10 shiro No fix yet —
Ubuntu 22.04 LTS shiro No fix yet —
Ubuntu 20.04 LTS shiro No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS shiro No fix yet —
Ubuntu Pro 18.04 LTS shiro No fix yet —
Ubuntu Pro 16.04 LTS shiro No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling neo4j-2026.01 No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.shiro:shiro-core >= 1.0.0-incubating, < 2.2.0 2.2.0 GHSA-fcvm-3cpj-f9qx
Maven org.apache.shiro:shiro-core >= 3.0.0-alpha-1, < 3.0.0-alpha-2 3.0.0-alpha-2 GHSA-fcvm-3cpj-f9qx

References