Vulnerabilities / CVE-2026-49268

critical

CVE-2026-49268

A remote attacker can inject LDAP special characters into the Distingu ...

Published Modified CWE 90
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GHSA8.8CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/S:P/AU:Y/R:A/RE:L/U:Red

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

SourcePackageFixed in
chainguardapache-activemq-6.2, apache-activemq-fips-6.2, apache-jena-fuseki and 2 more6.2.7-r3 and 4 more
debian 11shirono fix listed
debian 12shirono fix listed
debian 13shirono fix listed
debian 14shirono fix listed
echoshirono fix listed
echo maven::Echo OSVorg.apache.shiro:shiro-core2.2.1
maven::GitHub Security Advisory Mavenorg.apache.shiro:shiro-core2.2.1, 3.0.0-alpha-2
minimosapache-activemq-6.2, apache-activemq-6.2-fips, datahub-frontend-react and 4 more6.2.8-r0 and 3 more
rapidfort debian 12shirono fix listed
rapidfort debian 13shirono fix listed
wolfineo4j-2026.052026.05.0-r2
Show all 22 entries from 12 sources
SourcePackageFixed in
chainguardapache-activemq-6.26.2.7-r3
chainguardapache-activemq-fips-6.26.2.6-r6
chainguardapache-jena-fuseki6.1.0-r3
chainguardneo4j-2026.052026.05.0-r2
chainguardneo4j-5.265.26.27-r2
debian 11shirono fix listed
debian 12shirono fix listed
debian 13shirono fix listed
debian 14shirono fix listed
echoshirono fix listed
echo maven::Echo OSVorg.apache.shiro:shiro-core2.2.1
maven::GitHub Security Advisory Mavenorg.apache.shiro:shiro-core2.2.1, 3.0.0-alpha-2
minimosapache-activemq-6.26.2.8-r0
minimosapache-activemq-6.2-fips6.2.8-r0
minimosdatahub-frontend-react1.7.0-r0
minimosdatahub-frontend-react-fips1.7.0-r0
minimosneo4j-5.265.26.28-r0
minimosnexus33.95.0.07-r0
minimosnexus3-fips3.95.0.07-r0
rapidfort debian 12shirono fix listed
rapidfort debian 13shirono fix listed
wolfineo4j-2026.052026.05.0-r2

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.