Apache Shiro: Empty stored credential matches an empty submitted password
- CVE-2026-129347
- GHSA-5h92-gcwc-5qgx
- EUVD-2026-126385
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.
Text from the CVE.org record.
Recommendation
Apache Software Foundation Apache Shiro
- If you run a version before 3.0.2update to 3.0.2 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Apache Software Foundation Apache Shiro
Affected versions Fixed in before 3.0.2 3.0.2
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.