CVE-2026-49268
A remote attacker can inject LDAP special characters into the Distingu ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high).
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| chainguard | apache-activemq-6.2, apache-activemq-fips-6.2, apache-jena-fuseki and 2 more | 6.2.7-r3 and 4 more |
| debian 11 | shiro | no fix listed |
| debian 12 | shiro | no fix listed |
| debian 13 | shiro | no fix listed |
| debian 14 | shiro | no fix listed |
| echo | shiro | no fix listed |
| echo maven::Echo OSV | org.apache.shiro:shiro-core | 2.2.1 |
| maven::GitHub Security Advisory Maven | org.apache.shiro:shiro-core | 2.2.1, 3.0.0-alpha-2 |
| minimos | apache-activemq-6.2, apache-activemq-6.2-fips, datahub-frontend-react and 4 more | 6.2.8-r0 and 3 more |
| rapidfort debian 12 | shiro | no fix listed |
| rapidfort debian 13 | shiro | no fix listed |
| wolfi | neo4j-2026.05 | 2026.05.0-r2 |
Show all 22 entries from 12 sources
| Source | Package | Fixed in |
|---|---|---|
| chainguard | apache-activemq-6.2 | 6.2.7-r3 |
| chainguard | apache-activemq-fips-6.2 | 6.2.6-r6 |
| chainguard | apache-jena-fuseki | 6.1.0-r3 |
| chainguard | neo4j-2026.05 | 2026.05.0-r2 |
| chainguard | neo4j-5.26 | 5.26.27-r2 |
| debian 11 | shiro | no fix listed |
| debian 12 | shiro | no fix listed |
| debian 13 | shiro | no fix listed |
| debian 14 | shiro | no fix listed |
| echo | shiro | no fix listed |
| echo maven::Echo OSV | org.apache.shiro:shiro-core | 2.2.1 |
| maven::GitHub Security Advisory Maven | org.apache.shiro:shiro-core | 2.2.1, 3.0.0-alpha-2 |
| minimos | apache-activemq-6.2 | 6.2.8-r0 |
| minimos | apache-activemq-6.2-fips | 6.2.8-r0 |
| minimos | datahub-frontend-react | 1.7.0-r0 |
| minimos | datahub-frontend-react-fips | 1.7.0-r0 |
| minimos | neo4j-5.26 | 5.26.28-r0 |
| minimos | nexus3 | 3.95.0.07-r0 |
| minimos | nexus3-fips | 3.95.0.07-r0 |
| rapidfort debian 12 | shiro | no fix listed |
| rapidfort debian 13 | shiro | no fix listed |
| wolfi | neo4j-2026.05 | 2026.05.0-r2 |