---
title: Apache Shiro CVE-2026-137686: ActiveDirectoryRealm still accepted an empty username and password as an anonymous LDAP bind (incomplete 2014 fix); fixed in 3.0.2 | ctxsec
url: https://ctxsec.com/items/apache-shiro-cve-2026-137686-activedirectoryrealm-empty-username-anonymous-bind-auth-bypass-3-0-2
description: "Apache says the CVE-2014-0074 fix missed ActiveDirectoryRealm, so an unauthenticated user could log in with an empty principal when the realm has no principalSuffix and the directory allows anonymous binds. CVSS 4.0 6.3. Upgrade to Shiro 3.0.2, or set principalSuffix, or disable anonymous binds."
status: "official (Apache Shiro advisory on oss-security)"
published: 2026-11-27
---

> Apache says the CVE-2014-0074 fix missed ActiveDirectoryRealm, so an unauthenticated user could log in with an empty principal when the realm has no principalSuffix and the directory allows anonymous binds. CVSS 4.0 6.3. Upgrade to Shiro 3.0.2, or set principalSuffix, or disable anonymous binds.

[← Cybersecurity News](/news) · [markdown](/items/apache-shiro-cve-2026-137686-activedirectoryrealm-empty-username-anonymous-bind-auth-bypass-3-0-2.md)

official (Apache Shiro advisory on oss-security)

2026-11-27 4:37 AM ET

### Apache Shiro CVE-2026-137686: ActiveDirectoryRealm still accepted an empty username and password as an anonymous LDAP bind (incomplete 2014 fix); fixed in 3.0.2

- **Affected:** org.apache.shiro:shiro-core before 3.0.2, only with ActiveDirectoryRealm, no principalSuffix, and a directory that allows anonymous binds.
- **Fix:** 3.0.2, or set principalSuffix, or disable anonymous LDAP binds.

Sources: [oss-security: CVE-2026-137686 Apache Shiro](https://seclists.org/oss-sec/2026/q4/903)
