CVE-2026-129349

published 15 Nov 2026 · updated 20 Nov 2026

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

9.1CriticalCVSS 9.1EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.0.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation<3.0.13.0.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-129349 severity on Zeptric[![CVE-2026-129349](https://zeptric.io/badge/cve/CVE-2026-129349.svg)](https://zeptric.io/cve/CVE-2026-129349)