Vulnerability
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 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.
35 advisories report this vulnerability, across 5 ecosystems.
Advisories
- CGA-39c8-m5p3-hh3h
- CGA-3h9r-f3px-qhfr
- CGA-3rfg-3w2w-4vfv
- CGA-46xc-mmv5-qpp4
- CGA-4jw3-63qv-63gh
- CGA-53m9-3684-7c8m
- CGA-55vq-x3p3-cmcp
- CGA-5xv3-v35c-fxw6
- CGA-6gp5-5c97-8f5v
- CGA-6jp3-357g-px9m
- CGA-6m5r-5xgv-74vr
- CGA-72g3-5c7q-78wm
- CGA-79mw-3wm3-gh3w
- CGA-8g6w-qvhw-467f
- CGA-9757-45gf-c3pf
- CGA-9qpp-562g-57mf
- CGA-c23v-56g4-4847
- CGA-crvr-238v-f2pj
- CGA-h7hf-r3fj-h2qx
- CGA-hhjf-wh4v-95v5
- CGA-jp28-hm29-q7hq
- CGA-mg88-4rh2-mw28
- CGA-p4j5-5p9q-23wr
- CGA-p6rw-76w2-23x8
- CGA-phw4-pw4p-w2pq
- CGA-pwp6-rx4r-qcj7
- CGA-vfv2-v5f9-fj9r
- CGA-w63x-f2xj-4p8f
- CGA-x8vf-hmcf-w5qc
- CGA-x9cp-8jfr-6wmp
- CGA-xfwr-xgrg-xrrw
- CGA-xvph-cv33-98qj
-
DEBIAN-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…
-
GHSA-x96m-rh44-vgv8
Apache Shiro: LDAP DN Injection in DefaultLdapRealm
-
UBUNTU-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…