StraitOfVuln
Latest / CVE-2026-129349

CVE-2026-129349

CriticalCVSS 9.1 (v4.0)Awaiting Analysis
CVE.org ↗NVD ↗

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.

Details

CVE ID
CVE-2026-129349
Published / updated
15 Nov 2026, 10:16 UTC · last modified 20 Nov 2026, 17:33 UTC
Severity
CRITICAL
CVSS score
9.1 · v4.0 · 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 · Attack vector: Network
Affected vendor
Apache Software Foundation
Affected products
Apache Shiro
Affected versions
Apache Shiro: before 3.0.1
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Apache Shiro 3.0.1
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.58% probability of exploitation in the next 30 days · 49% percentile (02 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
security@apache.org