GHSA-x96m-rh44-vgv8

Suggest an improvement
Source
https://github.com/advisories/GHSA-x96m-rh44-vgv8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-x96m-rh44-vgv8/GHSA-x96m-rh44-vgv8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-x96m-rh44-vgv8
Aliases
  • CVE-2026-49268
Downstream
Published
2026-06-17T18:35:55Z
Modified
2026-06-18T14:45:18.947456162Z
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
{
    "github_reviewed": true,
    "github_reviewed_at": "2026-06-18T14:37:08Z",
    "nvd_published_at": "2026-06-17T14:17:56Z",
    "severity": "HIGH",
    "cwe_ids": [
        "CWE-90"
    ]
}
References

Affected packages

Maven / org.apache.shiro:shiro-core

Package

Name
org.apache.shiro:shiro-core
View open source insights on deps.dev
Purl
pkg:maven/org.apache.shiro/shiro-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.1

Affected versions

1.*
1.0.0-incubating
1.1.0
1.2.0
1.2.1
1.2.2
1.2.3
1.2.4
1.2.5
1.2.6
1.3.0
1.3.1
1.3.2
1.4.0-RC2
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.5.2
1.5.3
1.6.0
1.7.0
1.7.1
1.8.0
1.9.0
1.9.1
1.10.0
1.10.1
1.11.0
1.12.0
1.13.0
2.*
2.0.0-alpha-1
2.0.0-alpha-2
2.0.0-alpha-3
2.0.0-alpha-4
2.0.0
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.1.0
2.2.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-x96m-rh44-vgv8/GHSA-x96m-rh44-vgv8.json"

Maven / org.apache.shiro:shiro-core

Package

Name
org.apache.shiro:shiro-core
View open source insights on deps.dev
Purl
pkg:maven/org.apache.shiro/shiro-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0.0-alpha-0
Fixed
3.0.0-alpha-2

Affected versions

3.*
3.0.0-alpha-1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-x96m-rh44-vgv8/GHSA-x96m-rh44-vgv8.json"