LOW 2.3

CVE-2026-129347

Apache Shiro: Empty stored credential matches an empty submitted password

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

DefaultPasswordService and SimpleCredentialsMatcher could treat an empty stored credential as a match for an empty submitted password. This issue affects all Apache Shiro versions through 3.0.1, only when accounts with an empty stored credential exist.

Mitigation: Upgrade to version 3.0.2 or later, which fixes the issue. Alternatively, avoid storing empty credentials, and reject empty passwords in the application.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.shiro » shiro-corepreliminary
< 3.0.2
3.0.2

Blast radius

1affected artifacts
55affected versions
4,155dependent artifacts (est.)
163,175dependent versions

75% of the dependent artifacts (3,119) still pull an affected version in their latest release.

DepthDependent versions
Direct
30,568
2 hops
69,278
3 hops
41,334
4 hops
14,950
5 hops
5,201
6 hops
1,844

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.