CVE-2026-137686: Apache Shiro: Authentication bypass in ActiveDirectoryRealm via empty username (incomplete fix for CVE-2014-0074)
This Apache advisory covers CVE-2026-137686 in Apache Shiro.
- CVE-2026-137686
Am I affected by CVE-2026-137686?
You are affected if you run Apache Shiro at one of the versions below. If you do, upgrade to the fixed release listed for your version.
| Affected | Fixed in |
|---|---|
| through 3.0.1 | 3.0.2 |
Official advisory · high-confidence parse· fetched ·verify at source
Key facts
- Vendor rating
- Medium, CVSS 6.3
- CVSS vector
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· base score 6.3, scored by apacheAttack vector: network. Attack complexity: low. Attack requirements: present. Privileges required: none. User interaction: none. Confidentiality impact on the vulnerable system: low. Integrity impact on the vulnerable system: none. Availability impact on the vulnerable system: none. Confidentiality impact on subsequent systems: none. Integrity impact on subsequent systems: none. Availability impact on subsequent systems: none.- Weakness
- CWE-287 Improper Authentication
- CISA KEV
- Not listed (catalogue checked )
- Source published
- Source revised
- Listed by VulniPulse
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
Description
The fix for 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.
Text from the source record.
How to fix CVE-2026-137686
Upgrade to the first fixed release for your version, shown in the table above.
Vendor guidance
- Mitigation: Upgrade to version 3.0.2 or later, which fixes the issue.
Workarounds
- Alternatively, set principalSuffix on the realm, or disable anonymous binds on the directory server.
CVE-2026-137686 questions
Is CVE-2026-137686 being exploited?
CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the Apache advisory does not report exploitation. That is not proof it is unexploited.
Am I affected by CVE-2026-137686?
You are affected if you run Apache Shiro at one of the versions below. If you do, upgrade to the fixed release listed for your version. The table above lists each version.
How do I fix CVE-2026-137686?
Upgrade to a fixed release Apache lists for your version: 3.0.2. The advisory's own guidance is above.
How serious is CVE-2026-137686?
Apache rates it medium, CVSS 6.3 out of 10.
More Apache Software Foundation advisories
CVE-2026-129348Nov 16, 2026Apache Shiro: When PropertiesRealm reloads its properties file, removed users and narrowedCVE-2026-129347Nov 16, 2026Apache Shiro: Empty stored credential matches an empty submitted passwordCVE-2026-74762Nov 16, 2026Apache Shiro is vulnerable to session fixationCVE-2026-74763Nov 16, 2026Apache Shiro: Authorization annotations not always enforced, dependingCVE-2026-88019Nov 16, 2026Apache Shiro: Saved form replay may weaken cookie security and expose form dataCVE-2026-129320Nov 16, 2026Apache Shiro: Principal tags in Jakarta Pages and Jakarta Faces do not escape output
Apache Software Foundation advisories, November 2026All Apache Software Foundation advisories
Get an email when Apache publishes the next one.
See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro (first month US$5).