CVE-2026-129349
Published:November 15, 2026
Updated:November 23, 2026
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 Packages
https://github.com/apache/shiro.git (GITHUB):
Affected version(s) >=shiro-root-1.2.0 <shiro-root-3.0.1 || >=shiro-root-2.0.0-alpha-1 <shiro-root-3.0.1 || >=shiro-root-3.0.0-alpha-1 <shiro-root-3.0.1Fix Suggestion:
Update to version shiro-root-3.0.1org.apache.shiro:shiro-core (JAVA):
Affected version(s) >=1.2.0 <3.0.1 || >=3.0.0-alpha-1 <3.0.1 || >=2.0.0-alpha-1 <3.0.1Fix Suggestion:
Update to version 3.0.1org.apache.shiro:shiro-core (JAVA):
Affected version(s) =1.8.0 <1.8.0-shiro-1.8.3Fix Suggestion:
Update to version 1.8.0-shiro-1.8.3org.apache.shiro:shiro-core (JAVA):
Affected version(s) =1.13.0 <1.13.0-shiro-1.13.3Fix Suggestion:
Update to version 1.13.0-shiro-1.13.3Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Authentication
EPSS
Base Score:
0.58