🔐 CVE Alert

CVE-2026-129349

UNKNOWN 0.0

Apache Shiro: DefaultLdapRealm accepts any password when authentication caching is enabled

CVSS Score
0.0
EPSS Score
0.6%
EPSS Percentile
49th

When authentication caching is enabled on DefaultLdapRealm, after a user logs in successfully once, subsequent logins for that user succeed with any password. A cached authentication skips the LDAP bind, and the AllowAllCredentialsMatcher installed by default in DefaultLdapRealm accepts any credentials, allowing an attacker who knows a valid username to authenticate as that user. This issue affects all Apache Shiro versions through 3.0.0, only when using DefaultLdapRealm (or JndiLdapRealm) with authenticationCachingEnabled set to true, which is not the default. Mitigation: Upgrade to version 3.0.1 or later, which fixes the issue by no longer installing AllowAllCredentialsMatcher by default. Alternatively, disable authentication caching on the LDAP realm (this is the default), or configure a credentials matcher, such as SimpleCredentialsMatcher, that verifies credentials against the cached authentication info.

CWE CWE-287
Vendor apache software foundation
Product apache shiro
Published Nov 15, 2026
Last Updated Nov 17, 2026
Stay Ahead of the Next One

Get instant alerts for apache software foundation apache shiro

Be the first to know when new unknown vulnerabilities affecting apache software foundation apache shiro are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

Affected Versions

Apache Software Foundation / Apache Shiro
0 < 3.0.1

References

NVD ↗ CVE.org ↗ EPSS Data ↗
lists.apache.org: https://lists.apache.org/thread.html/1whn52ht402lhc782c3s843c9hho8b4y openwall.com: http://www.openwall.com/lists/oss-security/2026/11/14/8

Credits

Joshua Rogers Lenny Primak <[email protected]>