Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › News › Apache

Advisory Analysis

Apache Knox LDAP Injection Flaw (CVE-2026-97633) Rated Critical; Upgrade to 2.1.1 or 3.0.0

According to an oss-security post and the NVD entry, CVE-2026-97633 is a critical LDAP injection flaw in the KnoxLdapRealm user search filter of Apache Knox versions 0.5.0 through 2.1.0. Fixed releases are 2.1.1 and 3.0.0.

ApacheWebIdentity & authVulnerabilities

Key points

  • CVE-2026-97633 is a critical LDAP injection flaw in Apache Knox's KnoxLdapRealm user search filter.
  • Apache Knox versions 0.5.0 through 2.1.0 are listed as affected, only when user search is configured.
  • An unauthenticated attacker can reportedly inject LDAP filter syntax via the login username, possibly authenticating against the wrong directory entry.
  • The fix is in Apache Knox 2.1.1 and 3.0.0.

What happened

According to an oss-security advisory, CVE-2026-97633 is an LDAP injection vulnerability in the KnoxLdapRealm user search filter of Apache Knox. The advisory rates the issue as critical. The National Vulnerability Database entry describes the same weakness and affected range.

Who is affected

The flaw affects Apache Knox from 0.5.0 through 2.1.0. It only applies when user search is configured through userSearchAttributeName or userSearchFilter. Deployments that do not use these settings are not described as affected.

Why it matters

The Shiro LDAP realm (KnoxLdapRealm) does not properly neutralize special characters when it builds LDAP search queries. According to the sources, an unauthenticated attacker can add LDAP filter syntax through the login username. As a result, Knox may verify credentials against a directory entry other than the one that matches the supplied username. The advisory was reported by a researcher using the handle n0mi1k.

Remediation

The advisory and NVD both recommend upgrading to Apache Knox 2.1.1 or 3.0.0, which contain the fix. The sources do not describe workarounds.

For full details, see the original oss-security advisory and the CVE record for CVE-2026-97633.

What to do

  1. Identify Apache Knox deployments running versions 0.5.0 through 2.1.0.
  2. Check whether user search is configured using userSearchAttributeName or userSearchFilter in the KnoxLdapRealm settings.
  3. Upgrade affected instances to Apache Knox 2.1.1 or 3.0.0.

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

oss-securityseclists.org

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

Posted by Tamás Hanicz on Dec 03 Severity: critical Affected versions: - Apache Knox 0.5.0 through 2.1.0 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.…

Vulnerabilities mentioned

More on this topic