CVE-2026-64400
ksmbd: prevent path traversal bypass by restricting caseless retry
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 6927ffe7479c72e7ebf885507227266a75f7c97d, < 21f050439db157f2afcc19885dec14549ca6ffc0; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < eec1dd2586c4016b7555a5d047db2b3756459fb2; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < a1c331d98313380c38f616c8b28b890ec8ef9c28; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < cfb5a56c218888f9d74165dff0c282cd0be97983; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 8c9a4f1327eb71efbf14842e7b8a6d965077eb67; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 54bab9ba5a9f156ffa9324fcbe5a356fd0242f95; 019aae488dbc67c97a33db03652e20e2c9e3afa7; ef6cc1c465786b3e4e735d1ab8b616b3e94402df; >= 6.1.71, < 6.1.191; >= 5.15.145, < 5.16; …
- Anyone running Linux 6.4
Vulnerability facts
- Affected
- Linux >= 6927ffe7479c72e7ebf885507227266a75f7c97d, < 21f050439db157f2afcc19885dec14549ca6ffc0; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < eec1dd2586c4016b7555a5d047db2b3756459fb2; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < a1c331d98313380c38f616c8b28b890ec8ef9c28; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < cfb5a56c218888f9d74165dff0c282cd0be97983; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 8c9a4f1327eb71efbf14842e7b8a6d965077eb67; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 54bab9ba5a9f156ffa9324fcbe5a356fd0242f95; 019aae488dbc67c97a33db03652e20e2c9e3afa7; ef6cc1c465786b3e4e735d1ab8b616b3e94402df; >= 6.1.71, < 6.1.191; >= 5.15.145, < 5.16; …; Linux 6.4
- Fixed in
- Linux 21f050439db157f2afcc19885dec14549ca6ffc0, Linux 8c9a4f1327eb71efbf14842e7b8a6d965077eb67, Linux 54bab9ba5a9f156ffa9324fcbe5a356fd0242f95, Linux 6.1.191, Linux 5.16
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: High
- EPSS
- 0.64% chance of exploitation in 30 days (percentile 45, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: prevent path traversal bypass by restricting caseless retry ksmbd_vfs_path_lookup() enforces LOOKUP_BENEATH to restrict path resolution within the share root. When a crafted path attempts to escape the share boundary using parent-directory components ('..'), vfs_path_parent_lookup() detects this and immediately fails, returning -EXDEV. However, a bug exists in __ksmbd_vfs_kern_path() under caseless mode. The function fails to intercept the -EXDEV error and erroneously falls through to the caseless retry logic, which is intended only for genuinely missing files. During this retry process, the path is reconstructed, leading to an unintended LOOKUP_BENEATH bypass that allows write-capable users to create zero-length files or directories outside the exported share. Fix this by ensuring that the execution only proceeds to the caseless lookup retry when the error is specifically -ENOENT. Any other errors, such as -EXDEV from a path traversal attempt, must be returned immediately.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 6927ffe7479c72e7ebf885507227266a75f7c97d, < 21f050439db157f2afcc19885dec14549ca6ffc0; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < eec1dd2586c4016b7555a5d047db2b3756459fb2; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < a1c331d98313380c38f616c8b28b890ec8ef9c28; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < cfb5a56c218888f9d74165dff0c282cd0be97983; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 8c9a4f1327eb71efbf14842e7b8a6d965077eb67; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 54bab9ba5a9f156ffa9324fcbe5a356fd0242f95; 019aae488dbc67c97a33db03652e20e2c9e3afa7; ef6cc1c465786b3e4e735d1ab8b616b3e94402df; >= 6.1.71, < 6.1.191; >= 5.15.145, < 5.16; … | — | cvelist |
| Linux | 6.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-64400. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-64400.md Affected: Linux >= 6927ffe7479c72e7ebf885507227266a75f7c97d, < 21f050439db157f2afcc19885dec14549ca6ffc0; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < eec1dd2586c4016b7555a5d047db2b3756459fb2; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < a1c331d98313380c38f616c8b28b890ec8ef9c28; >= 74d7970febf7e9005375aed… Fixed in: Linux 21f050439db157f2afcc19885dec14549ca6ffc0, Linux 8c9a4f1327eb71efbf14842e7b8a6d965077eb67, Linux 54bab9ba5a9f156ffa9324fcbe5a356fd0242f95, Linux 6.1.191, Linux 5.16 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2026-64400 being exploited?
There is no confirmed exploitation: CVE-2026-64400 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.64% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-64400?
High: CVSS 8.6 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-64400?
Linux >= 6927ffe7479c72e7ebf885507227266a75f7c97d, < 21f050439db157f2afcc19885dec14549ca6ffc0; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < eec1dd2586c4016b7555a5d047db2b3756459fb2; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < a1c331d98313380c38f616c8b28b890ec8ef9c28; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < cfb5a56c218888f9d74165dff0c282cd0be97983; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 8c9a4f1327eb71efbf14842e7b8a6d965077eb67; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 54bab9ba5a9f156ffa9324fcbe5a356fd0242f95; 019aae488dbc67c97a33db03652e20e2c9e3afa7; ef6cc1c465786b3e4e735d1ab8b616b3e94402df; >= 6.1.71, < 6.1.191; >= 5.15.145, < 5.16; …; Linux 6.4.
Is there a fix for CVE-2026-64400?
Yes. Fixed in Linux 21f050439db157f2afcc19885dec14549ca6ffc0, Linux 8c9a4f1327eb71efbf14842e7b8a6d965077eb67, Linux 54bab9ba5a9f156ffa9324fcbe5a356fd0242f95, Linux 6.1.191, Linux 5.16. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-64400?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.