CVE-2026-129347 PUBLISHED

Apache Shiro: Empty stored credential matches an empty submitted password

Assigner: apache
Reserved: 14.11.2026 Published: 16.11.2026 Updated: 16.11.2026

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.

Metrics

CVSS Vector: 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/S:N/AU:N/V:D/RE:L/U:Green
CVSS Score: 2.3

Product Status

Vendor Apache Software Foundation
Product Apache Shiro
Versions Default: unaffected
  • affected from 0 to 3.0.2 (excl.)

Credits

  • The ASF, found using LLM security scan, validated and reported by Apache Shiro finder
  • Lenny Primak <lenny@flowlogix.com> remediation developer

References

Problem Types

  • CWE-287 Improper Authentication CWE