Bug 2585377 (CVE-2026-137686)

Summary: CVE-2026-137686 org.apache.shiro/shiro-core: Apache Shiro: Authentication bypass via anonymous LDAP bind in ActiveDirectoryRealm
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Apache Shiro. The ActiveDirectoryRealm implementation allows an unauthenticated remote attacker to bypass authentication by providing an empty username and password. If the directory server permits anonymous binds and no principal suffix is configured, the application accepts the empty credentials as an anonymous Lightweight Directory Access Protocol (LDAP) bind, allowing the attacker to log in with an empty principal.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-27 09:21:30 UTC
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.