MODERATE 6.3

CVE-2026-137686

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

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.shiro » shiro-corepreliminary
< 3.0.2
3.0.2

Blast radius

1affected artifacts
55affected versions
4,155dependent artifacts (est.)
163,228dependent versions

75% of the dependent artifacts (3,130) still pull an affected version in their latest release.

DepthDependent versions
Direct
30,574
2 hops
69,296
3 hops
41,358
4 hops
14,955
5 hops
5,201
6 hops
1,844

Most used dependents

Computed from the dependency graph of build 20261126.1706 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.