CVE-2026-129349
Last modified
CVE-2026-129349 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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..
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Shiro | < 3.0.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-129349?
How severe is CVE-2026-129349?
How do I fix CVE-2026-129349?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12927CWE-787 Out-of-bounds write vulnerability exists that could …8.4
- CVE-2026-1293The Yoast SEO – Advanced SEO with real-time guidance and bui…6.4
- CVE-2026-129319create-ecdh is a browserifiable implementation of Node.js cr…5.9
- CVE-2026-12932A memory leak in the tls-crypt-v2 client key extraction in O…8.1
- CVE-2026-129337Git over HTTP lowers the required permission for pushes to r…
- CVE-2026-129341The web endpoint that removes an attachment skipped the perm…
- CVE-2026-12935The TL-WR940N v6 router contains a vulnerability in its RTSP…8.7
- CVE-2026-129351A security vulnerability has been detected in TRENDnet TEW-6…10
- CVE-2026-129352A vulnerability was detected in TRENDnet TEW-657BRM 1.00.1. …9.1
- CVE-2026-129353A vulnerability was detected in D-Link DIR-600L 2.17/2.17b02…10
- CVE-2026-129354A flaw has been found in D-Link DIR-600L 2.17b02. Affected b…10
- CVE-2026-129355A vulnerability has been found in sigoden dufs up to 0.46.0.…6.5
Are you affected by CVE-2026-129349?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
