LDAP injection in Apache Knox KnoxLdapRealm user search filter
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- No fix listed
No CVSS vector from any source. Fix status from CNA.
Summary
Apache Knox from 0.5.0 through 2.1.0 is affected. Special characters in an LDAP query are not neutralized in the Shiro LDAP component KnoxLdapRealm when user search is configured, so the login username can change the filter. An unauthenticated attacker can inject LDAP filter syntax so that Knox authenticates the request against a different directory entry than the username identifies. The weakness is CWE-90.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade Apache Knox to version 2.1.1 or 3.0.0, which fix the issue.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
Timeline
- 2026-12-03 Threatist record created from CVE-2026-97633
- 2026-12-03 Alias added: GHSA-cf74-rwhw-v2v7
References
More Apache vulnerabilities
- TI-2026-92478 Unauthenticated deserialization in Apache Roller XML-RPC endpoint KEVCVSS 3.1CRITICAL 9.8
- TI-2026-85977 Remote class instantiation in Apache Axis via SOAP faults KEVCVSS 3.1CRITICAL 9.8
- TI-2025-18529 Path equivalence in Apache Tomcat allows code execution via PUT KEVCVSS 3.1CRITICAL 10.0
- TI-2024-30292 Forced browsing in Apache OFBiz bypasses controller-view authorization KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26062 Incorrect authorization in Apache OFBiz exposes screen rendering code KEVCVSS 3.1CRITICAL 9.8
- TI-2024-21190 Path traversal in Apache OFBiz leads to remote code execution KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-97633 · CVE Program
- CVE-2026-97633 · NVD
- GHSA-cf74-rwhw-v2v7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences