CVE-2026-137686
Apache Shiro: Authentication bypass in ActiveDirectoryRealm via empty username (incomplete fix for CVE-2014-0074)
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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.shiro » shiro-corepreliminary | < 3.0.2 | 3.0.2 |
Blast radius
75% of the dependent artifacts (3,130) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.apache.kafka » kafka-clients3,138 usages
- org.apache.kafka » kafka1,450 usages
- org.apache.kafka » connect-api1,026 usages
- org.apache.kafka » connect-transforms659 usages
- org.apache.kafka » kafka-streams514 usages
- org.apache.solr » solr-core500 usages
- org.apereo.cas » cas-server-core-util-api492 usages
- org.apache.shiro » shiro-web460 usages
- org.apereo.cas » cas-server-core-authentication-api400 usages
- org.apache.shiro » shiro-spring312 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apereo.cas » cas-server-core-util296 usages
- org.apereo.cas » cas-server-core-web-api288 usages
- org.apereo.cas » cas-server-core-services280 usages
- org.neo4j » neo4j269 usages
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.
