Back to feed
20Track

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

Apache Software Foundation Apache Shiro · CVE-2026-129349 ETK-2026-4507 EUVD-2026-126005 GHSA-3J37-VW7V-FXXW
0 news outlets0 CERTs and agencies1 research labs

Assessment: Track

SSVC decision points: exploitation poc, automatable no, technical impact total, deployment low.

What is it?

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.

Evidence

Technical advisories1Detailed write-ups from security research teams

Exploitation

  • Exploit code published (not verified by us)
  • Exploited in the wild (confirmed by a source)
  • Listed as known exploited (CISA KEV)
CVSS
9.1
EPSS
0.6%
First seen
4 d ago
Status
corroborated

All Apache Software Foundation vulnerabilities