CVE-2026-97633: Apache Knox: LDAP injection in KnoxLdapRealm user search filter

Published Dec 3, 2026
·
Updated

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 Software

1 affected component
Apache Knox>=0.5.0<=2.1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.1.1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.0.0

Event History

Dec 3, 2026
CVE Published
via MITRE·11:39 AM
Data Sourced
via MITRE·11:39 AM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Apache Knox versions 0.5.0 through 2.1.0 are affected when the Shiro LDAP realm uses user search configuration, specifically userSearchAttributeName or userSearchFilter. Deployments without either of those user-search settings configured are not identified as affected by the provided information.

2

What does an attacker need to exploit it?

An attacker does not need to be authenticated. They need to submit a login username containing LDAP filter syntax to a vulnerable Knox deployment with LDAP user search configured.

3

What is the security impact of a successful attack?

Injected LDAP filter syntax can cause Knox to authenticate the request against a different directory entry than the entry identified by the supplied username. The provided information does not specify what credentials or additional conditions may be required to complete authentication as that entry.

4

What should we do if our deployment is affected?

Upgrade Apache Knox to version 2.1.1 or 3.0.0, which fix the issue. The provided information does not identify a configuration-only mitigation for deployments that require LDAP user search.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203