CVE-2026-129347

Apache Shiro: Empty stored credential matches an empty submitted password

Low published · updated

2.3
CVSS score out of 10 · NVD (apache.org)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
org.apache.shiro:shiro-core maven 0 → <3.0.23.0.2 CVE.org
apache shiro apache software foundation 0 → <3.0.23.0.2 CVE.org

References