LDAP injection in Apache Shiro - CVE-2026-49268

 

LDAP injection in Apache Shiro - CVE-2026-49268

Published: August 25, 2026


Vulnerability identifier: #VU145238
CSH Severity: High
CVSS v4: 8.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-49268
CWE-ID: CWE-90
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass authentication or impersonate other users.

The vulnerability exists due to improper neutralization of special elements in the distinguished name construction in DefaultLdapRealm when processing user-supplied username input for LDAP bind authentication. A remote attacker can supply a username containing LDAP special characters to bypass authentication or impersonate other users.

Only configurations using DefaultLdapRealm are vulnerable.


Affected software

Apache Shiro

How to mitigate CVE-2026-49268

Install security update from vendor's website.

Apache Shiro - update to 3.0.0

External References

Related Security Bulletins