Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.3CVE-2026-137686

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

Apache Software Foundation Apache Shiro

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-137686: medium-severity vulnerability (CVSS 6.3) in Apache Software Foundation Apache Shiro.

What happened

Original description from the source: 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

Medium severity, CVSS 6.3.

Affected products and versions

Apache Software Foundation Apache Shiro < 3.0.2

ProductVersionsFixed in
Apache Software Foundation Apache Shiro< 3.0.2—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-287

Relevant change history

  1. Published

    Preliminary advisory published.