NFS CSI driver for Kubernetes is Vulnerable to Path Traversal through Volume Identifier Parameter
Moderate severity
GitHub Reviewed
Published
Mar 21, 2026
to the GitHub Advisory Database
•
Updated Mar 24, 2026
Package
Affected versions
< 0.0.0-20260210055231-316af2d86b91
Patched versions
0.0.0-20260210055231-316af2d86b91
Description
Published by the National Vulnerability Database
Mar 20, 2026
Published to the GitHub Advisory Database
Mar 21, 2026
Reviewed
Mar 24, 2026
Last updated
Mar 24, 2026
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