← Back to the monthly list · Apache Software Foundation →
CVE-2026-129349 Apache Software Foundation · Apache Shiro
AI summary
All Apache Shiro versions through 3.0.0 are affected when DefaultLdapRealm (or JndiLdapRealm) uses authentication caching (authenticationCachingEnabled=true, not the default): after one successful login, any password works for that user. A remote unauthenticated attacker only needs a valid username. Critical (9.1); upgrade to 3.0.1 or later, or disable caching, or configure a verifying credentials matcher such as SimpleCredentialsMatcher.
Official 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.
- Published
- 2026-11-15 10:16 UTC
- Modified
- 2026-11-20 17:33 UTC
- CVSS
- 9.1 Critical
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:U/V:C/RE:L/U:Red - EPSS
- 0.56% (percentile 41)
- ENISA EUVD
- EUVD-2026-126005
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
- CWE
- CWE-287
- Category
- Identity & access
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Attack requirements
- present
- Privileges required
- none
- User interaction
- none
- Confidentiality
- high
- Integrity
- high
- Availability
- none
References
- NVD · CVE.org
- lists.apache.org
https://lists.apache.org/thread.html/1whn52ht402lhc782c3s843c9hho8b4y - www.openwall.com
http://www.openwall.com/lists/oss-security/2026/11/14/8