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.
CSI Driver for NFS path traversal via subDir may delete unintended directories on the NFS server
Problem types
Product status
Any version before 4.13.1
4.13.1
Credits
Shaul Ben Hai, Senior Staff Security Researcher, SentinelOne
References
www.openwall.com/lists/oss-security/2026/03/17/1
groups.google.com/...ernetes-security-announce/c/i4ZKN9VLcUE
github.com/kubernetes/kubernetes/issues/137797