CVE-2026-129349shiro Authentication Bypass
Apache Shiro: DefaultLdapRealm accepts any password when authentication caching is enabled
Published Nov 15, 2026 · Updated Nov 20, 2026 · Also known as EUVD-2026-126005, GHSA-3j37-vw7v-fxxw
Key Facts
Patch in the next maintenance window- CVE-2026-129349 is a critical-severity vulnerability (CVSS 9.1 v4) affecting shiro (debian), org.apache.shiro:shiro-core (maven), Apache Shiro.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 0.6% probability of exploitation in the next 30 days.
- Fixed versions are available, including Apache Shiro 3.0.1, org.apache.shiro:shiro-core 3.0.1.
- Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
Scores
CVSS v4
9.1
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/S:N/AU:Y/R:U/V:C/RE:L/U:Red
EPSS (30-day exploit likelihood)
0.6%
Higher than 49.3% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
40/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
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
7 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| shirodebian | See advisory | n/a |
| org.apache.shiro:shiro-coremaven | See advisory | 3.0.1 |
| Apache Shiro | See advisory | 3.0.1 |
Patched Releases
Apache Shiro
3.0.1
org.apache.shiro:shiro-core
3.0.1
Timeline
Publicly disclosed
Nov 15, 2026
Last updated
Nov 20, 2026
Weakness Type
- CWE-287 Improper Authentication
References
FAQ
Common Questions.
When authentication caching is enabled on DefaultLdapRealm, after a user logs in successfully once, subsequent logins for that user succeed with any password.
Affected: shiro (debian); org.apache.shiro:shiro-core (maven); Apache Shiro. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Apache Shiro 3.0.1, org.apache.shiro:shiro-core 3.0.1.
Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
Is CVE-2026-129349 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo