Vulnerability · Published Mar 20, 2026 · Assigned by kubernetes
CVE-2026-3864CSI Driver for NFS path traversal via subDir may delete unintended directories on the NFS server
Medium 6.5
In plain English
A medium-severity path traversal in CSI Driver for NFS from Kubernetes. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A vulnerability was discovered in the Kubernetes CSI Driver for NFS where the subDir parameter in volume identifiers was insufficiently validated. Attackers with the ability to create PersistentVolumes referencing the NFS CSI driver could craft volume identifiers containing path traversal sequences (../). During volume deletion or cleanup operations, the driver could operate on unintended directories outside the intended managed path within the NFS export. This may lead to deletion or modification of directories on the NFS server.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/kubernetes-csi/csi-driver-nfs | 0.0.0-20260210055231-316af2d86b91 | GHSA-2mjq-54qg-7w6j |
| Go | github.com/kubernetes-csi/csi-driver-nfs | 0.0.0-20260210055231-316af2d86b91 | GO-2026-4816 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Kubernetes | CSI Driver for NFS | 0 – before 4.13.1 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H