Apache Shiro (CVE-2026-129349): any password accepted in DefaultLdapRealm with authentication cache enabled
The critical advisory (CVSS 4.0: 9.1) describes a flaw in Apache Shiro's DefaultLdapRealm: with the authentication cache enabled, after one successful login, the same user can log in with any password. Versions before 3.0.1 are affected.
WRP Consultoria e Informática · Updated17 days ago
Source: CVE-2026-129349: Apache Shiro aceita qualquer senha no DefaultLdapRealm com cache de autenticação habilitado (seclists.org). Text prepared with AI from this source.
What happened and what to do
The advisory, published on the oss-sec list by Lenny Primak on 13 November 2026, covers CVE-2026-129349 in Apache Shiro (org.apache.shiro:shiro-core) before 3.0.1. When the authentication cache is enabled in DefaultLdapRealm, after a first successful login, later logins by that user are accepted with any password, because cached authentication bypasses the LDAP bind. The CVSS 4.0 score is 9.1, rated critical, requiring no privileges and no user interaction.
For a company, the first step is to identify which applications use shiro-core before 3.0.1 with LDAP authentication and an active authentication cache, and to upgrade to a fixed version. While the upgrade is pending, authentication logs can be reviewed for successful logins without a matching LDAP bind, and session monitoring can be strengthened. A dependency inventory pipeline with alerts on vulnerable components prevents flaws like this from going unnoticed in internal systems. It is also worth checking which accounts could have been accessed improperly and treating suspicious sessions as compromised.
How the consultancy can help
Exposure diagnosis: surveying the applications and dependencies that use Apache Shiro with LDAP, reviewing the authentication cache configuration and logs, and a prioritized upgrade plan. Implementation of dependency monitoring and alerts for anomalous logins, on the client's own infrastructure.
Next step
If your organization uses Apache Shiro with LDAP authentication, send a short description of your scenario and receive a scoped proposal for diagnosis and remediation.
Need to assess technical exposure or run continuous monitoring?
Start with an evidence-backed audit of your domains, headers, email authentication, or AI tooling and move into SLA-backed managed operations.