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 au…
- CVSS
- 9.1Critical
- Chance of exploitation (EPSS)
- 0.58%
- Published
- Nov 15, 2026
- In the news
- 1 story
What to do
A critical authentication flaw in Apache Shiro that can be attacked over the network without logging in. Exploit code is public, so patch it soon.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 3.0.1
Affected versions
- Apache Shiro
- Before 3.0.1
Description
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 products
Get alerts for these →Timeline 4
Latest change: googlesky/CVE-2026-129349: Apache Shiro (Nov 15, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Sun, Nov 15, 2026
- Exploit codegooglesky/CVE-2026-129349: Apache ShiroGitHub (unverified) · 17:15 UTC
- CVECVE-2026-129349 published (CVSS 9.1)CVE Program · 10:16 UTC
Sat, Nov 14, 2026
- ResearchCVE-2026-129349: Apache Shiro: DefaultLdapRealm accepts any password when authentication caching is enabledoss-security · 06:00 UTC
- DetectionNessus plugin 381387: Linux Distros Unpatched Vulnerability : CVE-2026-129349Tenable
Exploit code
Visit at your own risk. These are third-party sites we find automatically. We do not test, review or vouch for them, and fake proof-of-concept repositories sometimes contain malware.
- googlesky/CVE-2026-129349: Apache Shiro
GitHub, unverified · found Nov 15, 2026
References 2
- lists.apache.org /thread.html/1whn52ht402lhc782c3s843c9hho8b4y
- www.openwall.com /lists/oss-security/2026/11/14/8