← VULNERABILITIES

CVE-2026-137686

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

Medium · 6.3Fix available
CVSS
6.3
EPSS
0.77% (p52)
Published
2026-11-27
Age
1d old
Modified
2026-11-27
Product
Apache Software Foundation Apache Shiro

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

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.

Fixed in

3.0.2

Affected packages

EcosystemPackageRangeFixed
unknownorg.apache.shiro:shiro-core>=0, <3.0.23.0.2

Sources

  • NVD · first seen 1d ago · NVD terms of use
  • CVE List · first seen 1d ago · CVE Terms of Use

References

JSON