Read the docs

Authentication bypass in Apache Shiro ActiveDirectoryRealm

Priority LOW 29CWE-287Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Security bypass
Confidentiality · integrity · availability
Low · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-287.

Summary

Apache Shiro through 3.0.1 is affected when ActiveDirectoryRealm runs without principalSuffix and the directory server allows anonymous binds. An incomplete fix for an earlier flaw leaves ActiveDirectoryRealm accepting an empty username and password as an anonymous LDAP bind, which is an improper authentication weakness (CWE-287). An unauthenticated remote attacker can log in with an empty principal.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

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 now

EPSS 0.005 35th percentileScored 2026-11-30
Fix Fixed Apache Shiro (Apache Software Foundation): 3.0.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Shirobefore 3.0.23.0.2Patch availableCNA
  • Apache Shiro VendorApache Affected before 3.0.2 Fixed in 3.0.2 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:*——Apache
  • cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:* Versions — — ·Apache

Remediation

Upgrade Apache Shiro to version 3.0.2 or later, which fixes the issue. Alternatively, set principalSuffix on ActiveDirectoryRealm or disable anonymous binds on the directory server.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

  • Fix · CNA Apache Shiro (Apache Software Foundation) Fixed in 3.0.2

Timeline

  1. 2026-11-27 Threatist record created from CVE-2026-137686
  2. 2026-11-27 Alias added: GHSA-35x8-3qcq-6jjm
  3. 2026-11-28 EPSS moved to the below the 50th percentile

References

  • TI-2026-92478 Unauthenticated deserialization in Apache Roller XML-RPC endpoint KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-85977 Remote class instantiation in Apache Axis via SOAP faults KEVCVSS 3.1CRITICAL 9.8
  • TI-2025-18529 Path equivalence in Apache Tomcat allows code execution via PUT KEVCVSS 3.1CRITICAL 10.0
  • TI-2024-30292 Forced browsing in Apache OFBiz bypasses controller-view authorization KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-26062 Incorrect authorization in Apache OFBiz exposes screen rendering code KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-21190 Path traversal in Apache OFBiz leads to remote code execution KEVCVSS 3.1CRITICAL 9.8
See all 4297 →

Sources