CVE-2026-137686
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-137686 NameCVE-2026-137686 DescriptionThe 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…
Workaround
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. SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) Vulnerable and fixed packages The table below lists information on source packages. Source PackageReleaseVersionStatus shiro (PTS)bookworm1.3.2-5vulnerable forky, sid, trixie1.3.2-6vulnerable The information below is based on the following data on fixed versions. PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs shirosource(unstable)(unfixed) Notes https://lists.apache.org/thread/b3vl39boc1yq9gm3cpt8pdwjhtz62770
CVE-2026-137686
| Name | CVE-2026-137686 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| shiro (PTS) | bookworm | 1.3.2-5 | vulnerable |
| forky, sid, trixie | 1.3.2-6 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| shiro | source | (unstable) | (unfixed) |
Notes
https://lists.apache.org/thread/b3vl39boc1yq9gm3cpt8pdwjhtz62770
Apply commands
https://lists.apache.org/thread/b3vl39boc1yq9gm3cpt8pdwjhtz62770
OS impact
Debian Affected 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | shiro |
Affected | — |
| sid | shiro |
Affected | — |
| forky | shiro |
Affected | — |
| bookworm | shiro |
Affected | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| apache | apache_shiro | {"endExcluding":"3.0.2"} | 3.0.2 |
References
CWEs
CWE-287
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.