Apache Knox: LDAP injection in KnoxLdapRealm user search filter
Summary
| CVE | CVE-2026-97633 |
|---|---|
| State | PUBLISHED |
| Assigner | apache |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 12:18:09 UTC |
| Updated | 2026-12-03 12:18:09 UTC |
| Description | Improper neutralization of special elements in an LDAP query in the Apache Knox Shiro LDAP realm (KnoxLdapRealm) allows an unauthenticated attacker to inject LDAP filter syntax through the login username when user search (userSearchAttributeName or userSearchFilter) is configured. As a result, Knox may authenticate the request against a different directory entry than the username identifies. This issue affects Apache Knox from 0.5.0 through 2.1.0. Users are recommended to upgrade to version 2.1.1 or 3.0.0, which fix the issue. |
Risk And Classification
Problem Types: CWE-90 | CWE-90 CWE-90 Improper neutralization of special elements used in an LDAP query ('LDAP injection')
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Apache Software Foundation | Apache Knox | affected 0.5.0 2.1.0 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| lists.apache.org/thread/x377gjsfd156wscgn85txwcdcbzy0d2t | [email protected] | lists.apache.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: n0mi1k (en)
There are currently no legacy QID mappings associated with this CVE.