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.
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.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Fri, 27 Nov 2026 11:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Apache
Apache shiro |
|
| Vendors & Products |
Apache
Apache shiro |
Fri, 27 Nov 2026 09:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Apache Shiro: Authentication bypass in ActiveDirectoryRealm via empty username (incomplete fix for CVE-2014-0074) | |
| Weaknesses | CWE-287 | |
| References |
| |
| Metrics |
cvssV4_0
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: apache
Published:
Updated: 2026-11-27T09:06:07.516Z
Reserved: 2026-11-26T21:07:38.358Z
Link: CVE-2026-137686
No data.
Status : Received
Published: 2026-11-27T10:17:28.440
Modified: 2026-11-27T10:17:28.440
Link: CVE-2026-137686
No data.
OpenCVE Enrichment
Updated: 2026-11-27T11:45:02Z
Weaknesses