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

Published Nov 27, 2026
·
Updated

The fix for CVE-2014-0074 https://shiro.apache.org/security-reports.html#cve20140074 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 Software

1 affected component
Apache Shiro<=3.0.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.0.2
  2. Configuration

    Set principalSuffix on the realm

    Apache Shiro ActiveDirectoryRealm principalSuffix
  3. Configuration

    Disable anonymous binds on the directory server

    Directory server anonymous binds = disabled

Event History

Nov 27, 2026
CVE Published
via MITRE·09:06 AM
Data Sourced
via MITRE·09:06 AM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments should prioritize investigation?

Deployments that use Apache Shiro's ActiveDirectoryRealm should be investigated, because the issue is specific to that realm.

2

What does an attacker need to attempt exploitation?

The bypass is triggered through an authentication attempt with an empty username.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203