Apache Shiro CVE-2026-129349: with LDAP authentication caching on, anyone who knows a username can log in with any password after that user's first login
- Check: search your Shiro config (shiro.ini, Spring beans) for
DefaultLdapRealmorJndiLdapRealmwithauthenticationCachingEnabled = true. Remember Shiro is often bundled inside other Java products, so check vendor apps too. - Fix: upgrade to Shiro 3.0.1, or turn authentication caching off on the LDAP realm, or set a credentials matcher such as SimpleCredentialsMatcher that checks against the cached info.
- Look back: for affected apps, review logins that succeeded after earlier failed attempts for the same user, or from unusual sources, since a cached account would have accepted wrong passwords.
Sources: oss-security: CVE-2026-129349 Apache Shiro DefaultLdapRealm accepts any password when authentication caching is enabled (Nov 14, 2026) · Apache Shiro announcement (lists.apache.org) · GitHub Advisory GHSA-3j37-vw7v-fxxw (CVE-2026-129349)