LDAP Injection in Apache 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…
EPSS: 0.005 (39.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
Affected products
- Apache Shiro — versions 3.0.0
- Apache Software Foundation Shiro — versions 0, 3.0.0-alpha-0
Weakness classification (CWE)
References
- security@apache.org (vendor-advisory, Mailing List, Vendor Advisory)
- af854a3a-2127-422b-91ae-364da2661108 (Third Party Advisory)
Frequently asked questions
- What is CVE-2026-49268?
- CVE-2026-49268 is a critical-severity vulnerability in Apache Shiro, classified under LDAP Injection. CVSS score: 9.1/10. Published 2026-06-17.
- How severe is CVE-2026-49268?
- Critical severity. CVSS v3 base score is 9.1 out of 10.