CVE-2026-49268

Source
https://cve.org/CVERecord?id=CVE-2026-49268
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-49268.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-49268
Aliases
Downstream
CGA (32)
CLEANSTART (4)
DEBIAN (1)
MINI (24)
UBUNTU (1)
Published
2026-06-17T13:07:44Z
Modified
2026-11-01T02:47:37Z
Severity
  • 8.8 (High) CVSS_V4 - CVSS: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 CVSS Calculator
Summary
Apache Shiro: LDAP DN Injection in DefaultLdapRealm
Details

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.

Database specific
{
    "cna_assigner": "apache",
    "cwe_ids": [
        "CWE-90"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49268.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "range": [
                        {
                            "last_affected": "2.2.0"
                        },
                        {
                            "introduced": "3.0.0-alpha-0"
                        },
                        {
                            "last_affected": "3.0.0-alpha-1"
                        }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/apache/shiro

Affected ranges

Type
GIT
Repo
https://github.com/apache/shiro
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "2.2.1"
                }
            ],
            "source": "CPE_RANGE"
        }
    ]
}

Affected versions

shiro-root-1.*
shiro-root-1.4.0-RC2
shiro-root-1.4.0-RC2-release-vote1
shiro-root-1.4.1
shiro-root-1.5.0
shiro-root-1.5.2
shiro-root-1.5.2-release-vote1
shiro-root-1.5.3
shiro-root-1.5.3-release-vote1
shiro-root-2.*
shiro-root-2.0.6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-49268.json"