Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

In the Linux kernel, the following vulnerability has been resolved: ksmbd: prevent path traversal bypass by restricting caseless retry… (CVE-2026-64400)

0
High
Published: 07/25/2026 (07/25/2026, 12:31:34 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's ksmbd component allowed a path traversal bypass due to improper handling of error codes during caseless path lookup retries. This flaw could enable write-capable users to create zero-length files or directories outside the intended share boundary. The issue was fixed by ensuring only the specific -ENOENT error triggers the caseless retry, while other errors like -EXDEV from path traversal attempts are returned immediately.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/25/2026, 23:27:09 UTC

Technical Analysis

The Linux kernel's ksmbd_vfs_path_lookup() function enforces LOOKUP_BENEATH to restrict path resolution within the share root, preventing escape via '..' components. However, in __ksmbd_vfs_kern_path() under caseless mode, the function incorrectly ignores the -EXDEV error returned by vfs_path_parent_lookup() and proceeds to caseless retry logic meant only for missing files (-ENOENT). This retry reconstructs the path and bypasses LOOKUP_BENEATH, allowing write-capable users to create zero-length files or directories outside the exported share. The fix ensures that only -ENOENT errors trigger the retry, while other errors like -EXDEV are returned immediately, preventing the bypass.

Potential Impact

This vulnerability allows users with write permissions to create files or directories outside the intended share boundary, potentially leading to unauthorized file system modifications outside the exported share. There is no indication of remote code execution or privilege escalation beyond this scope.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to address this vulnerability by correcting error handling in the ksmbd caseless path lookup logic. Users should apply the official kernel updates that include this fix. Since this is a kernel-level vulnerability, updating to a patched kernel version is the recommended remediation. Patch status is not yet confirmed in this data; check the vendor or Linux kernel advisories for the current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-cg5c-7728-29v7
Osv Schema Version
1.4.0
Aliases
["CVE-2026-64400"]
Ecosystems
[]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a65420a9c2644c7f8084180

Added to database: 07/25/2026, 23:08:58 UTC

Last enriched: 07/25/2026, 23:27:09 UTC

Last updated: 07/26/2026, 03:55:07 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses