# CVE-2026-129349: Apache Shiro: DefaultLdapRealm accepts any password when authentication caching is enabled

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 3.0.1 (CNA); fix release not confirmed
- Status: published
- Published: 2026-11-15 · Modified: 2026-11-17
- Aliases: DEBIAN-CVE-2026-129349, UBUNTU-CVE-2026-129349
- Record: https://cvemate.com/vulnerability/CVE-2026-129349 · JSON: https://cvemate.com/vulnerability/CVE-2026-129349/json

## Description

```text
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.
```

## Signals

- CVSS: 9.1 critical (v4.0, CVE.org) 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: 0.584%, percentile 49.361%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache shiro: \< 3.0.1
- debian shiro (Debian): All versions (No fix recorded)
- ubuntu shiro (Ubuntu): All versions (No fix recorded)

## References

- <https://security-tracker.debian.org/tracker/CVE-2026-129349>
- <https://lists.apache.org/thread.html/1whn52ht402lhc782c3s843c9hho8b4y>
- <http://www.openwall.com/lists/oss-security/2026/11/14/8>
- <https://ubuntu.com/security/CVE-2026-129349>
- <https://www.cve.org/CVERecord?id=CVE-2026-129349>
- <https://www.openwall.com/lists/oss-security/2026/11/14/8>
- <https://shiro.apache.org/security-reports.html#cve_2026_129349>

---

Data as of 2026-12-05T03:44:49.513Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
