UNRATED
CVE-2026-97633
Apache Knox: LDAP injection in KnoxLdapRealm user search filter
Preliminary: affected artifacts
were declared by the CNA in the CVE record
and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.knox » gateway-provider-security-shiropreliminary | >= 0.5.0, <= 2.1.0 | - |
Blast radius
Dependency propagation for this vulnerability will be available after the next index build.
