CVE-2026-129347
Apache Shiro: Empty stored credential matches an empty submitted password
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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.shiro » shiro-corepreliminary | < 3.0.2 | 3.0.2 |
Blast radius
75% of the dependent artifacts (3,119) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.apache.kafka » kafka-clients3,135 usages
- org.apache.kafka » kafka1,450 usages
- org.apache.kafka » connect-api1,026 usages
- org.apache.kafka » connect-transforms659 usages
- org.apache.kafka » kafka-streams513 usages
- org.apache.solr » solr-core500 usages
- org.apereo.cas » cas-server-core-util-api492 usages
- org.apache.shiro » shiro-web460 usages
- org.apereo.cas » cas-server-core-authentication-api400 usages
- org.apache.shiro » shiro-spring312 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apereo.cas » cas-server-core-util296 usages
- org.apereo.cas » cas-server-core-web-api288 usages
- org.apereo.cas » cas-server-core-services280 usages
- org.neo4j » neo4j269 usages
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.
