A remote attacker can inject LDAP special characters into the Distinguished Name (DN) construction in DefaultLdapRealm class.
- CVSS
- 9.1Critical
- Chance of exploitation (EPSS)
- 0.51%
- Published
- Jun 17, 2026
- In the news
- Not yet
What to do
A critical security flaw in Apache Shiro that can be attacked over the network without logging in. No attacks are reported yet, but patch it soon.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Apache Shiro
- Through 2.2.0; 3.0.0-alpha-0 to through 3.0.0-alpha-1
Description
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.
Affected products
Get alerts for these →Timeline 3
Latest change: Tenable Cloud Security plugin 490376: Chainguard: apache-activemq-6.2: security update to 6.2.7-r3apache-activemq-fips-6.2: security update to 6.2.6-r6apache-jena-fuseki: security update to 6.1.0-r3multiple neo4j-2026.05 packages: security update to 2026.05.0-r2neo4j-5.26: security update to 5.26.27-r2 (Dec 1, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Dec 2, 2026
- DetectionTenable Cloud Security plugin 490376: Chainguard: apache-activemq-6.2: security update to 6.2.7-r3apache-activemq-fips-6.2: security update to 6.2.6-r6apache-jena-fuseki: security update to 6.1.0-r3multiple neo4j-2026.05 packages: security update to 2026.05.0-r2neo4j-5.26: security update to 5.26.27-r2Tenable
- DetectionTenable Container Security plugin 490376: Chainguard: apache-activemq-6.2: security update to 6.2.7-r3apache-activemq-fips-6.2: security update to 6.2.6-r6apache-jena-fuseki: security update to 6.1.0-r3multiple neo4j-2026.05 packages: security update to 2026.05.0-r2neo4j-5.26: security update to 5.26.27-r2Tenable
Wed, Jun 17, 2026
- CVECVE-2026-49268 published (CVSS 9.1)CVE Program · 14:17 UTC
References 2
- lists.apache.org Vendor Advisory /thread/svszql3od8td7hn6conyj2oq70v53b5s
- www.openwall.com /lists/oss-security/2026/06/17/8