MODERATE 5.9

CVE-2026-74762

Apache Shiro: Possible session fixation with RememberMe

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

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.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.apache.shiro » shiro-corepreliminary
< 3.0.1
3.0.1
org.apache.shiro » shiro-webpreliminary
< 3.0.1
3.0.1

Blast radius

2affected artifacts
105affected versions
4,147dependent artifacts (est.)
228,156dependent versions

100% of the dependent artifacts (4,147) still pull an affected version in their latest release.

DepthDependent versions
Direct
48,617
2 hops
99,155
3 hops
50,355
4 hops
19,045
5 hops
8,167
6 hops
2,817

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.