Skip to main content

Apache Knox CVE-2026-97633

| EUVDEUVD-2026-143252 CRITICAL
LDAP Injection (CWE-90)
2026-12-03 apache GHSA-cf74-rwhw-v2v7
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Knox gateway LDAP login endpoint
  2. Delivery
    Submit username with LDAP filter metacharacters
  3. Exploit
    Injected syntax rewrites user-search filter
  4. Execution
    Knox matches unintended directory entry
  5. Impact
    Gain authenticated access as another identity

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization LDAP query parameterization
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the Apache Knox KnoxLdapRealm (Shiro LDAP realm) is configured for user search - specifically that userSearchAttributeName or userSearchFilter is set - because the attacker-controlled login username is substituted into an LDAP search filter without proper neutralization. Deployments that authenticate via a DN template bind without user search are not described as affected, which is the primary limiting factor. Within an affected configuration there is no authentication or user-interaction requirement: the malicious filter syntax is delivered through the login username at the network-facing gateway. The flaw is limited to Knox versions 0.5.0 through 2.1.0; versions 2.1.1 and 3.0.0 fix it.

Impact

No CVSS score or vector is provided by any source, so severity must be inferred from the mechanism: an unauthenticated LDAP filter injection (CWE-90) in Apache Knox's Shiro-based KnoxLdapRealm that can cause Knox to authenticate a request against a different directory entry than the supplied username - an authentication-integrity failure in a security gateway that fronts Hadoop/backend services. The vuln.today Decision label is act_now and the issue was reported by the Apache project itself, which signals treated priority; however, EPSS, KEV, and SSVC exploitation-status data are all absent from the input, so there is no probabilistic or confirmed-exploitation signal to corroborate that urgency. No public exploit or PoC reference is present - the only reference is the Apache advisory thread - so this is not confirmed as actively exploited or publicly weaponized. The real-world risk is gated by a specific configuration precondition (user search must be enabled); where that precondition holds, the flaw is pre-authentication and network-reachable and should be treated as high priority, but deployments using DN-template binding without user search are not described as affected. Net: a credible, vendor-reported pre-auth authentication-confusion flaw warranting prompt patching per the act_now label, but with no EPSS/KEV/PoC evidence to confirm exploitation is occurring in the wild.

Exploit ScenarioDerived

An attacker reaches the Knox gateway login where KnoxLdapRealm is configured with user search (userSearchAttributeName or userSearchFilter) and submits a username containing unescaped LDAP filter metacharacters. The injected filter syntax alters the directory search so that Knox binds/matches a different directory entry than the identity the username names, letting the attacker be authenticated as an unintended principal without valid credentials. No public exploit code is identified at time of analysis; the trigger is network-reachable and requires no prior authentication.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 03, 2026

LDAP filter injection in the Apache Knox Shiro LDAP realm (KnoxLdapRealm) lets an unauthenticated attacker who submits a crafted login username cause Knox to authenticate the request against a different directory entry than the username actually identifies. Only deployments from 0.5.0 through 2.1.0 that configure user search via userSearchAttributeName or userSearchFilter are described as affected; deployments that bind with a DN template and no user search are not described as affected. No public exploit code or CISA KEV entry is identified at time of analysis, and no CVSS score or EPSS estimate was supplied by the sources, so priority rests on the mechanism: an authentication-integrity failure in a gateway that fronts Hadoop and other backend services, which the reporting source marks for action (act_now).

RemediationAI

Upgrade Apache Knox to 2.1.1 or 3.0.0, the versions the vendor states fix the issue (advisory: https://lists.apache.org/thread/x377gjsfd156wscgn85txwcdcbzy0d2t); upgrading is the complete fix because it removes the injectable username substitution in the KnoxLdapRealm user search. Where an immediate upgrade is not possible, the configuration-level avoidance consistent with the reported scope is to stop using user search (userSearchAttributeName or userSearchFilter) and authenticate through a DN template bind without user search, since those deployments are not described as affected - the trade-off is that deployments which depend on search-based user lookup, for example to support directory layouts where the bind DN cannot be templated from the username, lose that capability until they are upgraded. Beyond that configuration change, the supplied sources do not describe further mitigations, and the affected Knox gateways should be prioritized for patching given the act_now decision label.

Affected VersionsENISA

Apache Knox 0.5.0 ≤2.1.0

Affected Packages

euvd apache_knox no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-90 (improper neutralization of special elements used in an LDAP query). Apache Knox's KnoxLdapRealm, built on Apache Shiro's LDAP realm, performs a directory user search when userSearchAttributeName or userSearchFilter is configured. In that mode the attacker-supplied login username is substituted into the LDAP search filter without proper neutralization of filter syntax, so injected filter elements change which directory entry the search resolves to. Because the resolution result drives authentication, the gateway can end up authenticating the request against an entry that the submitted username does not name - an authentication-integrity problem rather than a direct code-execution primitive. The supplied CPE (cpe:2.3:a:apache_software_foundation:apache_knox:*:*:*:*:*:*:*:*) is version-wildcarded, while the description bounds the affected range to 0.5.0 through 2.1.0; deployments are affected only when user search is enabled, so exposure is configuration-dependent. The assessed vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N indicates a network-reachable, unauthenticated attack with no user interaction and high confidentiality and integrity impact; the trigger details beyond the username-in-filter substitution are not described in the available sources.

Know when LDAP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY CRITICAL
vuln.today AI 9.1 CRITICAL

Pre-auth network injection via login username so AV:N/PR:N/UI:N; low complexity given direct username-to-filter injection; authenticating as a different entry breaks confidentiality and integrity, no availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (apache).

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A critical authentication bypass in Apache Knox versions 0.5.0 through 2.1.0, when configured with user search via userSearchAttributeName or userSearchFilter, could allow unauthenticated attackers to impersonate directory users and access backend Hadoop services. This affects any organization relying on Knox as a gateway to protect data and applications, undermining the integrity of authentication and potentially exposing sensitive data. Leadership should prioritize immediate mitigation because the flaw enables unauthorized access without credentials.

Business Impact: Severe
Compensating Controls

Disable user search by removing userSearchAttributeName and userSearchFilter configurations, reconfiguring to use a DN template; restrict network access to Knox to trusted IP ranges; implement WAF rules to detect and block LDAP injection attempts; monitor authentication logs for suspicious activity.

Threat Intelligence Overview

Prevalence
Medium
Hadoop/REST gateway, common in big-data enterprises but not everywhere
Data Quality
1 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS N/A
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

More in LDAP

View all
CVE-2016-9299 CRITICAL POC
9.8 Jan 12

The remoting module in Jenkins before 2.32 and LTS before 2.19.3 allows remote attackers to execute arbitrary code via a

CVE-2017-14596 CRITICAL POC
9.8 Sep 20

In Joomla!. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required,

CVE-2017-8790 CRITICAL POC
9.8 May 05

An issue was discovered on Accellion FTA devices before FTA_9_12_180. Rated critical severity (CVSS 9.8), this vulnerabi

CVE-2026-15723 HIGH POC
8.2 Oct 21

An authenticated GitLab user can seize control of an existing LDAP-backed account on instances that have both OmniAuth S

CVE-2026-11748 MEDIUM POC
6.9 Jun 22

LDAP injection in Central Dogma's Apache Shiro-based authentication module exposes unauthenticated remote attackers to a

CVE-2023-28853 MEDIUM POC
6.5 Apr 04

Mastodon is a free, open-source social network server based on ActivityPub Mastodon allows configuration of LDAP for aut

CVE-2020-36966 MEDIUM POC
6.4 Jan 30

Dolibarr 11.0.3 contains a persistent cross-site scripting vulnerability in LDAP synchronization settings that allows at

CVE-2025-36556 MEDIUM POC
6.1 Jan 20

A reflected cross-site scripting (xss) vulnerability exists in the ldapUser functionality of MedDream PACS Premium 7.3.6

CVE-2026-17392 CRITICAL
9.9 Nov 07

LDAP injection in IBM API Connect (10.0.8.0 through 10.0.8.12 and 12.1.0.0 through 12.1.1.2) lets a remote attacker who

CVE-2026-23906 CRITICAL
9.8 Feb 10

Authentication bypass in Apache Druid versions 0.17.0 through 35.x. Affects all versions prior to 36.0.0 when specific p

CVE-2026-44930 CRITICAL
9.8 May 22

Arbitrary certificate disclosure in Apache CXF's XKMS server lets remote attackers abuse an LDAP injection flaw (CWE-90)

CVE-2024-33868 CRITICAL
9.8 May 14

An issue was discovered in linqi before 1.4.0.1 on Windows. Rated critical severity (CVSS 9.8), this vulnerability is re

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy