Skip to content

CVE-2026-74762 Apache Shiro: Possible session fixation with RememberMe

MediumCVSS 5.9 EPSS 0.46%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

9 packages: 2 fixed, 7 with no fix yet.

PackageAffectedFixed inStatus
debian/shiro(Debian 12) = 1.3.2-5; = 1.3.2-6; All versions No fix listed No fix yet
debian/shiro(Debian 13) = 1.3.2-6; All versions No fix listed No fix yet
debian/shiro(Debian 14) = 1.3.2-6; All versions No fix listed No fix yet
ubuntu/shiro(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/shiro(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/shiro(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/shiro(Ubuntu 26.10) All versions No fix listed No fix yet
org.apache.shiro/shiro-core(Maven) < 3.0.1 3.0.1 Fixed
org.apache.shiro/shiro-web(Maven) < 3.0.1 3.0.1 Fixed

Affected products

ProductAffected versionsFixed in
org.apache.shiro/shiro-core(Maven) < 3.0.1 3.0.1
org.apache.shiro/shiro-web(Maven) < 3.0.1 3.0.1
debian/shiro(Debian:12) All versions No fix listed
debian/shiro(Debian:14) All versions No fix listed
debian/shiro(Debian:13) All versions No fix listed
ubuntu/shiro(Ubuntu:22.04) All versions No fix listed
ubuntu/shiro(Ubuntu:24.04) All versions No fix listed
ubuntu/shiro(Ubuntu:26.04) All versions No fix listed
ubuntu/shiro(Ubuntu:26.10) All versions No fix listed
debian/shiro(Debian:12) = 1.3.2-5 No fix listed
debian/shiro(Debian:12) = 1.3.2-6 No fix listed
debian/shiro(Debian:13) = 1.3.2-6 No fix listed
debian/shiro(Debian:14) = 1.3.2-6 No fix listed

References