# ksmbd: prevent path traversal bypass by restricting caseless retry

CVE record · `CVE-2026-64400`

- **Identifiers:** `CVE-2026-64400`
- **State:** Confirmed
- **Severity:** CVSS 8.6 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 25 Jul 2026
- **Updated:** 30 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 25 Jul 2026, 08:50 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `6927ffe7479c72e7ebf885507227266a75f7c97d to before 21f050439db157f2afcc19885dec14549ca6ffc0` (git)
  - affected: `74d7970febf7e9005375aeda0df821d2edffc9f7 to before eec1dd2586c4016b7555a5d047db2b3756459fb2` (git)
  - affected: `74d7970febf7e9005375aeda0df821d2edffc9f7 to before a1c331d98313380c38f616c8b28b890ec8ef9c28` (git)
  - affected: `74d7970febf7e9005375aeda0df821d2edffc9f7 to before cfb5a56c218888f9d74165dff0c282cd0be97983` (git)
  - affected: `74d7970febf7e9005375aeda0df821d2edffc9f7 to before 8c9a4f1327eb71efbf14842e7b8a6d965077eb67` (git)
  - affected: `74d7970febf7e9005375aeda0df821d2edffc9f7 to before 54bab9ba5a9f156ffa9324fcbe5a356fd0242f95` (git)
  - affected: `019aae488dbc67c97a33db03652e20e2c9e3afa7` (git)
  - affected: `ef6cc1c465786b3e4e735d1ab8b616b3e94402df` (git)
  - affected: `6.1.71 to before 6.1.191` (semver)
  - affected: `5.15.145 to before 5.16` (semver)
  - affected: `6.3.10 to before 6.4` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.4`
  - unaffected: `before 6.4` (semver)
  - unaffected: `6.1.191 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.160 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.114 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.57 to 6.18.*, inclusive` (semver)
  - unaffected: `7.1.4 to 7.1.*, inclusive` (semver)
  - unaffected: `7.2 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel's ksmbd (in-kernel SMB server) is affected in a range of versions, including 6.4 and later builds before fixes landed in each stable line. An attacker with write access to a ksmbd share running in caseless mode can send a crafted path containing parent-directory components, which bypasses the share-root restriction. This lets them create zero-length files or directories outside the exported share. Upgrade to a fixed kernel version: 6.1.191 or later in the 6.1 series, 6.6.160 or later in 6.6, 6.12.114 or later in 6.12, or 6.18.57 or later in 6.18. No workaround is listed.

Written 12 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 8.6 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0045, the 39th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 25 Jul 2026. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2026-64400](https://www.cve.org/CVERecord?id=CVE-2026-64400)
- [NVD: CVE-2026-64400](https://nvd.nist.gov/vuln/detail/CVE-2026-64400)

### References from the CNA

- <https://git.kernel.org/stable/c/21f050439db157f2afcc19885dec14549ca6ffc0>
- <https://git.kernel.org/stable/c/eec1dd2586c4016b7555a5d047db2b3756459fb2>
- <https://git.kernel.org/stable/c/a1c331d98313380c38f616c8b28b890ec8ef9c28>
- <https://git.kernel.org/stable/c/cfb5a56c218888f9d74165dff0c282cd0be97983>
- <https://git.kernel.org/stable/c/8c9a4f1327eb71efbf14842e7b8a6d965077eb67>
- <https://git.kernel.org/stable/c/54bab9ba5a9f156ffa9324fcbe5a356fd0242f95>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-64400>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-64400/>. Everything for agents: <https://agentprime.io/llms.txt>.
