Skip to main content
Mallory
UnratedVulnerability

CVE-2026-3865: Path Traversal in Kubernetes CSI Driver for SMB

Updated 4 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS-Not scored
EPSS-30-day exploit probability
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
IdentifiersCVE-2026-3865CWE-22

CVE-2026-3865 is a path traversal vulnerability in the Kubernetes CSI Driver for SMB. The flaw is caused by insufficient validation of the attacker-controlled subDir component embedded in the PersistentVolume volumeHandle used by the SMB CSI driver. The driver treated the volume identifier as a composite string, parsed the subdirectory field from it, and used path-joining logic to construct filesystem paths for operations on the backing SMB share without ensuring the resolved path remained confined to the intended managed subdirectory. By supplying traversal sequences in the volumeHandle, an attacker with permission to create PersistentVolume objects could cause the driver to escape the designated storage boundary. The vulnerable behavior is particularly exposed during cleanup and deletion workflows, where the driver may operate on unintended directories on the SMB server. Affected versions are CSI Driver for SMB releases prior to v1.20.1.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows a privileged Kubernetes user or service account to make the SMB CSI driver access, modify, or delete directories outside the intended per-volume subdirectory on the backing SMB export. In multi-tenant or shared-export deployments, this can enable cross-tenant file access and unauthorized modification or deletion of other tenants’ data. The primary security consequences are integrity and availability impact on remote storage, with potential confidentiality impact where sibling directories on the same share become reachable through traversal.

Mitigation

If you can’t patch tonight, do this now.

Restrict creation of PersistentVolume objects referencing external storage drivers to trusted administrators or tightly controlled automation accounts. Use admission controls or ValidatingAdmissionPolicy to reject unsafe volumeHandle patterns and traversal sequences before they reach the CSI driver. Review RBAC assignments for cluster-scoped storage resources, inspect SMB exports to ensure the driver can write only to intended directories, and monitor CSI controller logs for unexpected directory operations associated with volume deletion or cleanup.

Remediation

Patch, then assume compromise.

Upgrade the Kubernetes CSI Driver for SMB to v1.20.1 or later, which adds validation to reject traversal in the subdirectory component of volume identifiers. Review existing PersistentVolume objects that reference the SMB CSI driver for malformed or suspicious volumeHandle values and remove or correct unsafe definitions. Audit storage automation and controller configurations to ensure only trusted workflows can provision SMB-backed PersistentVolumes.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

Frequently asked questions

Is CVE-2026-3865 exploited in the wild?
As of Aug 6, 2026, Mallory has no reports of CVE-2026-3865 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-3865?
As of Aug 6, 2026, Mallory has found no public exploit for CVE-2026-3865.
Is there a patch for CVE-2026-3865?
Upgrade the Kubernetes CSI Driver for SMB to v1.20.1 or later, which adds validation to reject traversal in the subdirectory component of volume identifiers. Review existing PersistentVolume objects that reference the SMB CSI driver for malformed or suspicious volumeHandle values and remove or correct unsafe definitions.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity5Community discussion across Reddit, Mastodon, and other social sources.