CVE-2026-49268: Vulnerability in Apache Shiro
Critical. 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.
Maven, CWE-90
- Exploitation
- None confirmed
- Severity
- 9.1 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-x96m-rh44-vgv8
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weakness
- CWE-90
- Published
- 17 Jun 2026
- Last change
- 26 Oct 2026
- Ecosystem
- Maven
Affected products
Affected versions and the first fixed release
- Apache Shiro Before 2.2.1; Version 3.0.0. Fixed in 2.2.1
Affected packages
Vulnerable version ranges and fixed releases
- org.apache.shiro:shiro-core Maven, Affected before 2.2.1. Fixed in 2.2.1
Advisories
Vendor and security advisories
- lists.apache.org/thread/svszql3od8td7hn6conyj2oq70v53b5s
- openwall.com/lists/oss-security/2026/06/17/8
Related
- Shiro vulnerabilities Recent advisories, watch this product