Skip to content
COOEY

EXPOSURES › CVE-2026-49268

CVE-2026-49268

CRITICAL
DETAIL
SourceNVD · cve Published2026-06-17 CVSS9.1 Referencehttps://nvd.nist.gov/vuln/detail/CVE-2026-49268 ↗
SHAME 65/100 auth-bypassunpatched

Apache Shiro's DefaultLdapRealm allows LDAP DN injection via unescaped user input, enabling authentication bypass or user impersonation.

This vulnerability stems from directly concatenating user-supplied usernames into LDAP DN templates without escaping RFC 2253 special characters, allowing attackers to manipulate authentication logic. DIB organizations must patch Apache Shiro to 2.2.1 or 3.0.0-alpha-2 immediately, as this flaw directly undermines identity and access management controls required by NIST 800-171. Failure to patch exposes systems to credential theft and unauthorized access, violating compliance mandates.

Shame score — A fundamental input validation failure in a widely used authentication framework that enables authentication bypass, representing a high-impact, avoidable flaw in a critical security component.

▸ RECOMMENDED ACTION  Critical severity — schedule patching of the affected products.

DESCRIPTION

A remote attacker can inject LDAP special characters into the Distinguished Name (DN) construction in DefaultLdapRealm class. User-supplied username input is directly concatenated into the LDAP DN template without any escaping of RFC 2253 special characters. This allows an attacker to manipulate the DN structure used for LDAP bind authentication, potentially bypassing authentication or impersonating other users. This issue affects all Apache Shiro versions through 2.2.0, and 3.0.0-alpha-1 when using DefaultLdapRealm Upgrade to Apache Shiro 2.2.1 or 3.0.0-alpha-2 or later, which fixes the issue.

AFFECTED FEDRAMP PRODUCTS · 0
No correlated FedRAMP products.