Skip to content

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

MediumCVSS 6.3 EPSS 0.50%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

8 packages: 1 fixed, 7 with no fix yet.

PackageAffectedFixed inStatus
debian/shiro(Debian 12) = 1.3.2-5; = 1.3.2-6; All versions No fix listed No fix yet
debian/shiro(Debian 13) = 1.3.2-6; All versions No fix listed No fix yet
debian/shiro(Debian 14) = 1.3.2-6; All versions No fix listed No fix yet
ubuntu/shiro(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/shiro(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/shiro(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/shiro(Ubuntu 26.10) All versions No fix listed No fix yet
org.apache.shiro/shiro-core(Maven) < 3.0.2 3.0.2 Fixed

Affected products

ProductAffected versionsFixed in
debian/shiro(Debian:12) All versions No fix listed
debian/shiro(Debian:14) All versions No fix listed
debian/shiro(Debian:13) All versions No fix listed
ubuntu/shiro(Ubuntu:22.04) All versions No fix listed
ubuntu/shiro(Ubuntu:24.04) All versions No fix listed
ubuntu/shiro(Ubuntu:26.04) All versions No fix listed
ubuntu/shiro(Ubuntu:26.10) All versions No fix listed
org.apache.shiro/shiro-core(Maven) < 3.0.2 3.0.2
debian/shiro(Debian:12) = 1.3.2-5 No fix listed
debian/shiro(Debian:12) = 1.3.2-6 No fix listed
debian/shiro(Debian:13) = 1.3.2-6 No fix listed
debian/shiro(Debian:14) = 1.3.2-6 No fix listed

References