Authentication bypass in Apache Shiro ActiveDirectoryRealm
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-287.
Summary
Apache Shiro through 3.0.1 is affected when ActiveDirectoryRealm runs without principalSuffix and the directory server allows anonymous binds. An incomplete fix for an earlier flaw leaves ActiveDirectoryRealm accepting an empty username and password as an anonymous LDAP bind, which is an improper authentication weakness (CWE-287). An unauthenticated remote attacker can log in with an empty principal.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade Apache Shiro to version 3.0.2 or later, which fixes the issue. Alternatively, set principalSuffix on ActiveDirectoryRealm or disable anonymous binds on the directory server.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
- Fix · CNA Apache Shiro (Apache Software Foundation) Fixed in 3.0.2
Timeline
- 2026-11-27 Threatist record created from CVE-2026-137686
- 2026-11-27 Alias added: GHSA-35x8-3qcq-6jjm
- 2026-11-28 EPSS moved to the below the 50th percentile
References
More Apache vulnerabilities
- TI-2026-92478 Unauthenticated deserialization in Apache Roller XML-RPC endpoint KEVCVSS 3.1CRITICAL 9.8
- TI-2026-85977 Remote class instantiation in Apache Axis via SOAP faults KEVCVSS 3.1CRITICAL 9.8
- TI-2025-18529 Path equivalence in Apache Tomcat allows code execution via PUT KEVCVSS 3.1CRITICAL 10.0
- TI-2024-30292 Forced browsing in Apache OFBiz bypasses controller-view authorization KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26062 Incorrect authorization in Apache OFBiz exposes screen rendering code KEVCVSS 3.1CRITICAL 9.8
- TI-2024-21190 Path traversal in Apache OFBiz leads to remote code execution KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-137686 · CVE Program
- CVE-2026-137686 · NVD
- FIRST EPSS
- GHSA-35x8-3qcq-6jjm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences