# CVE-2026-137686: Apache Shiro: Authentication bypass in ActiveDirectoryRealm via empty username (incomplete fix for CVE-2014-0074)

- Severity: Medium 6.3 (CVSS:4.0, scored by apache) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2026-11-27T09:06:07.516Z
- Modified: 2026-11-27T10:17:28.440Z
- Weaknesses: CWE-287
- Assigned by: apache

## Description

The fix for  CVE-2014-0074 https://shiro.apache.org/security-reports.html#cve_2014_0074  was incomplete for ActiveDirectoryRealm, which still accepted an empty username and password as an anonymous LDAP bind. This allowed an unauthenticated user to log in with an empty principal.
This issue affects all Apache Shiro versions through 3.0.1, only when ActiveDirectoryRealm is used without principalSuffix and the directory server allows anonymous binds.

Mitigation: Upgrade to version 3.0.2 or later, which fixes the issue.
Alternatively, set principalSuffix on the realm, or disable anonymous binds on the directory server.

(As written by CVE List.)

## Affected

- org.apache.shiro:shiro-core: before 3.0.2

## References

- <https://lists.apache.org/thread/b3vl39boc1yq9gm3cpt8pdwjhtz62770> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-137686](https://www.cve.org/CVERecord?id=CVE-2026-137686), CVE Terms of Use, modified 2026-11-27
- NVD: [CVE-2026-137686](https://nvd.nist.gov/vuln/detail/CVE-2026-137686), Public domain, modified 2026-11-27

---

Page: https://cve.day/CVE-2026-137686 · Whole record: https://cve.day/CVE-2026-137686.json · Rebuilt by cve.day 2026-11-27T10:32:20.826Z
