Authentication Bypass Vulnerability in Apache Shiro's DefaultLdapRealm
CVE-2026-129349

9.1CRITICAL

Key Information:

Vendor

Apache

Vendor
CVE Published:
15 November 2026

What is CVE-2026-129349?

An authentication bypass vulnerability exists in Apache Shiro's DefaultLdapRealm when authentication caching is enabled. After a successful initial login, attackers can authenticate as the user with any password due to the absence of a proper LDAP bind process. The AllowAllCredentialsMatcher, by default in DefaultLdapRealm, permits this insecure behavior, allowing anyone who knows a valid username to gain unauthorized access. This issue affects all versions of Apache Shiro up to 3.0.0 when the caching option is enabled. To mitigate the risk, users should upgrade to version 3.0.1 or later, which no longer defaults to AllowAllCredentialsMatcher, or disable authentication caching altogether.

Affected Version(s)

Apache Shiro 0 < 3.0.1

References

CVSS V4

Score:
9.1
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Joshua Rogers
Lenny Primak <lenny@flowlogix.com>
.