All vulnerabilities

Maven

CVE-2026-97633

Apache Knox: LDAP injection in KnoxLdapRealm user search filter

Severity
Critical
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Weakness
LDAP injection (CWE-90)
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
org.apache.knox:gateway-provider-security-shiroMaven · osv:Maven:org.apache.knox:gateway-provider-security-shiro
  • From 0.5.0 up to 2.1.0

About org.apache.knox:gateway-provider-security-shiro

This is the only vulnerability in org.apache.knox:gateway-provider-security-shiro in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-97633