Apache Shiro: Empty stored credential matches an empty submitted password
- State
- Published
- Severity
- 2.3 Low
- Published
- Nov 16, 2026
- Updated
- Nov 16, 2026
- Reserved
- Nov 14, 2026
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.
| Product | Versions |
|---|---|
| Apache Shiro Apache Software Foundation | before 3.0.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 2.3 Low | apache |
Weaknesses
- CWE-287 Improper Authentication
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.