LDAP Injection in Apache Software Foundation Shiro

CVE-2026-49268

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…

Affected products

Weakness classification (CWE)

References