CVE-2026-129347Apache Shiro: Empty stored credential matches an empty submitted password
`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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | shiro | Fix pending | UBUNTU-CVE-2026-129347 | |
| Ubuntu 26.04 | shiro | Under investigation | UBUNTU-CVE-2026-129347 | |
| Ubuntu 24.04 | shiro | Fix pending | UBUNTU-CVE-2026-129347 | |
| Ubuntu 22.04 | shiro | Under investigation | UBUNTU-CVE-2026-129347 | |
| Ubuntu 20.04 | shiro | Fix pending | UBUNTU-CVE-2026-129347 | |
| Ubuntu 18.04 | shiro | Fix pending | UBUNTU-CVE-2026-129347 | |
| Ubuntu 16.04 | shiro | Fix pending | UBUNTU-CVE-2026-129347 | |
| Debian 14 | shiro | Fix pending | DEBIAN-CVE-2026-129347 | |
| Debian 13 | shiro | Fix pending | DEBIAN-CVE-2026-129347 | |
| Debian 12 | shiro | Fix pending | DEBIAN-CVE-2026-129347 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Shiro: affected: before 3.0.2; fixed in
3.0.2
Vendor advisories:
- https://lists.apache.org/thread/hf5n5xyyr0pyqzdxnh30kxt5ry8glgx2 (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.