Apache Software FoundationCVE-2026-129347
Apache Shiro: improper authentication
Fix: upgrade to 3.0.2 or later
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| Apache Shiro Product | < 3.0.2 | 3.0.2 |
Details and references
- CVSS 4.0
- CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:N/R:X/V:D/RE:L/U:Green
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-287