CVE-2026-129347 Apache Shiro: Empty stored credential matches an empty submitted password
Attackers can log in with an empty password when Shiro accounts have an empty stored credential; Java apps using Shiro should care.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Harmful if only installed
- No
- Needs a specific call
- Yes
- Fix
- None listed
What is CVE-2026-129347?
CVE-2026-129347 is a low-severity authentication bypass vulnerability in Apache Shiro, published on 16 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-287
Which versions are affected by CVE-2026-129347?
1 open source package ship an affected version, including org.apache.shiro:shiro-core.
An affected version is only exploitable if your software calls DefaultPasswordService or SimpleCredentialsMatcher. Many projects that include it are not exposed.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.shiro:shiro-core Mavenpkg:maven/org.apache.shiro/shiro-core | All versions | 3.0.2 |
How do I fix CVE-2026-129347?
Upgrade org.apache.shiro:shiro-core to 3.0.2 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2026-129347 being exploited?
There is no known exploitation of CVE-2026-129347 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-129347, GHSA-5h92-gcwc-5qgx, UBUNTU-CVE-2026-129347.