CVE-2026-3864: NFS CSI driver for Kubernetes is Vulnerable to Path Traversal through Volume Identifier Parameter
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 (../).
Published Mar 21, 2026 · Updated Mar 24, 2026
Affected packages
github.com/kubernetes-csi/csi-driver-nfs
- Ecosystem
- Go
- Affected
- < 0.0.0-20260210055231-316af2d86b91
- Fixed in
- 0.0.0-20260210055231-316af2d86b91
- Check
go list -m github.com/kubernetes-csi/csi-driver-nfs
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-3864
- https://github.com/kubernetes/kubernetes/issues/137797
- https://groups.google.com/g/kubernetes-security-announce/c/i4ZKN9VLcUE
- https://github.com/kubernetes-csi/csi-driver-nfs/commit/316af2d86b913a595542dc17e8599cf81afd938f
- https://github.com/advisories/GHSA-2mjq-54qg-7w6j
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
