Empty stored credential matches empty password in Apache Shiro
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-287.
Summary
Apache Shiro versions from 0 before 3.0.2 treat an empty stored credential as a match for an empty submitted password in DefaultPasswordService and SimpleCredentialsMatcher, which is an improper authentication flaw (CWE-287). A remote attacker with low privileges can authenticate to accounts that have an empty stored credential, and the issue only applies when such accounts exist.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
`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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade Apache Shiro to version 3.0.2 or later, which fixes the issue. Alternatively, avoid storing empty credentials and reject empty passwords in the application.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · CNA Apache Shiro (Apache Software Foundation) Fixed in 3.0.2
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache Shiro 3.0.2
6 records Highest priority Priority LOW 6 LOW
Other records, highest priority first
- TI-2026-92117 Apache Shiro does not always enforce authorization annotationsPriority LOW 25
- TI-2026-92118 Saved form replay in Apache Shiro may weaken cookie securityPriority LOW 24
- TI-2026-92129 Apache Shiro PropertiesRealm reload keeps deleted users activePriority LOW 9
Timeline
- 2026-11-16 Threatist record created from CVE-2026-129347
- 2026-11-16 Alias added: GHSA-5h92-gcwc-5qgx
- 2026-11-16 CISA SSVC decision points changed
References
More Apache vulnerabilities
- TI-2025-18529 Path equivalence in Apache Tomcat allows code execution via PUT KEVCVSS 3.1CRITICAL 10.0
- TI-2024-30292 Forced browsing in Apache OFBiz bypasses controller-view authorization KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26062 Incorrect authorization in Apache OFBiz exposes screen rendering code KEVCVSS 3.1CRITICAL 9.8
- TI-2024-21190 Path traversal in Apache OFBiz leads to remote code execution KEVCVSS 3.1CRITICAL 9.8
- TI-2024-18186 Remote command execution in Apache HugeGraph-Server via Gremlin KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25106 Apache ActiveMQ OpenWire deserialization allows remote code execution KEVCVSS 3.1CRITICAL 10.0
Sources
- CVE-2026-129347 · CVE Program
- CVE-2026-129347 · NVD
- GHSA-5h92-gcwc-5qgx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences