What is CVE-2026-137686?
CVE-2026-137686 is a medium-severity authentication bypass vulnerability in Apache Shiro, published on 27 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-287
How severe is CVE-2026-137686?
CVE-2026-137686 scores 6.3 out of 10 under CVSS 4.0, which is medium severity. It was scored by the Apache Software Foundation.
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- None
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Which versions are affected by CVE-2026-137686?
1 open source package ship an affected version, including org.apache.shiro:shiro-core.
An affected version is only exploitable if your software calls ActiveDirectoryRealm. Many projects that include it are not exposed.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.shiro:shiro-core Mavenpkg:maven/org.apache.shiro/shiro-core | All versions | 3.0.2 |
How do I fix CVE-2026-137686?
Upgrade org.apache.shiro:shiro-core to 3.0.2 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2026-137686 being exploited?
There is no known exploitation of CVE-2026-137686 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-137686, GHSA-35x8-3qcq-6jjm.