- apache
- knox
- hadoop
- auth-bypass
- path-traversal
- cve-2026-97633
- cve-2026-134625
news
Apache Knox 2.1.1 and 3.0.0 Fix Pre-Auth LDAP Injection and Admin API File Write (CVE-2026-97633, CVE-2026-134625)
Apache Knox 2.1.1 and 3.0.0 fix six CVEs. CVE-2026-97633 lets an unauthenticated attacker inject LDAP filter syntax through the login username when user search is configured, so Knox may authenticate against the wrong directory entry. CVE-2026-134625 gives Admin API users arbitrary file write. No CVSS published, ASF rates both critical. No reported exploitation. Not in CISA KEV.
- Record
- CVE-2026-97633
- Status
- Not KEVChecked, not listed
- Organization
- Apache Software Foundation
Summary
If you run Apache Knox in front of a Hadoop or data platform, upgrade to 2.1.1 or 3.0.0. On 3 December 2026 the Knox project published six CVEs, all fixed in those releases. The one to care about first is CVE-2026-97633: an LDAP injection in the Shiro LDAP realm (KnoxLdapRealm) that an unauthenticated attacker reaches through the login username. It only applies when user search is configured (userSearchAttributeName or userSearchFilter). In that setup, the ASF says Knox may authenticate the request against a different directory entry than the username names. CVE-2026-134625 is a path traversal in the Admin API that lets an authenticated Admin API user write or overwrite any file the Knox process can write. Status: Disclosed. Not in CISA KEV catalog 2026.11.30, checked against the KEV JSON feed on 3 December 2026.
Vulnerability details
| CVE | Issue | Who can exploit | Affected | ASF severity |
|---|---|---|---|---|
| CVE-2026-97633 | LDAP filter injection via login username in KnoxLdapRealm user search | Unauthenticated, when user search is configured | 0.5.0 through 2.1.0 | critical |
| CVE-2026-134625 | URL-encoded path traversal in topology, provider config or descriptor name in the Admin API, arbitrary file write | Authenticated Admin API user | 0.14.0 through 2.1.0 | critical |
| CVE-2026-92295 | JWT federation passcode token cache: pair your own passcode with another user's token ID and log in as them | Authenticated user with a passcode token | 1.6.0 through 2.1.0 | important |
| CVE-2026-93913 | KnoxToken enable and disable endpoints miss authorization, so any user can toggle others' tokens, including re-enabling ones an admin disabled | Authenticated user | 1.6.0 through 2.1.0 | critical |
| CVE-2026-93874 | KnoxToken getUserTokens shows other users' token metadata | Authenticated user | 1.6.0 through 2.1.0 | critical |
| CVE-2026-93920 | KnoxSSO open redirect via userinfo in originalUrl, bypasses the redirect whitelist | Remote, needs a victim to log in | 1.1.0 through 2.1.0 | critical |
Fixed in 2.1.1 and 3.0.0 for all six. Both versions are on Maven Central (org.apache.knox:gateway-server). The CNA records carry no CVSS score, and NVD had no record for CVE-2026-97633 at check time (3 December 2026). The severities above are the labels on the ASF announcements.
Exploitation status
- Public PoC: none found as of 3 December 2026.
- In the wild: none reported.
- KEV: none of the six are listed.
- Confidence: High. The ASF announcements on the Knox dev list and the CVE records agree on versions and fixes.
Operator actions
- Upgrade Knox to 2.1.1 or 3.0.0.
- Check your topologies for
KnoxLdapRealmwithmain.ldapRealm.userSearchAttributeNameormain.ldapRealm.userSearchFilterset. Those gateways are exposed to the pre-auth bug and go first. - Until you upgrade, keep the Admin API reachable only from admin hosts, and limit who holds Admin API access.
- If you use KnoxToken or passcode tokens, review token state after the upgrade. Re-disable any tokens that were disabled by an admin and show as enabled.
- Review LDAP bind and authentication logs for usernames containing filter characters such as
*,(,)or|.
Sources
- ASF: CVE-2026-97633 Apache Knox LDAP injection in KnoxLdapRealm
- ASF: CVE-2026-134625 Apache Knox Admin API path traversal
- ASF: CVE-2026-92295 Apache Knox passcode token cache
- CVE record: CVE-2026-97633 (MITRE)
- CVE record: CVE-2026-134625 (MITRE)
- Apache Knox project
- CISA Known Exploited Vulnerabilities JSON feed