{"id":"CVE-2026-3864","published":"2026-03-20T22:21:33Z","modified":"2026-03-23T14:13:53Z","title":"CSI Driver for NFS path traversal via subDir may delete unintended directories on the NFS server","vendor":"Kubernetes","product":"CSI Driver for NFS","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00781,"percentile":0.56874,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://groups.google.com/g/kubernetes-security-announce/c/i4ZKN9VLcUE","tags":["mailing-list"]},{"url":"https://github.com/kubernetes/kubernetes/issues/137797","tags":["issue-tracking"]},{"url":"http://www.openwall.com/lists/oss-security/2026/03/17/1","tags":[]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":11.37},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"kubernetes","affectedVersions":[{"vendor":"Kubernetes","product":"CSI Driver for NFS","versions":["< 4.13.1"]}],"fixedVersions":[{"vendor":"Kubernetes","product":"CSI Driver for NFS","versions":["4.13.1"]}],"solutions":{"items":["Upgrade the CSI Driver for NFS to version 4.13.1 or later. As mitigations, restrict PersistentVolume creation privileges to trusted administrators and review NFS exports to ensure only intended directories are writable by the driver."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-126","name":"Path Traversal"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-23T14:13:44.147797Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/kubernetes-csi/csi-driver-nfs","vulnerableRanges":["<0.0.0-20260210055231-316af2d86b91"],"patched":["0.0.0-20260210055231-316af2d86b91"],"from":["GHSA-2mjq-54qg-7w6j","GO-2026-4816"],"provenance":"source"}],"summary":{"text":"The Kubernetes CSI Driver for NFS fails to adequately validate the subDir parameter in volume identifiers, allowing path traversal sequences to be injected into PersistentVolume definitions. An attacker who can create PersistentVolumes that reference the driver could, during volume deletion or cleanup, cause the driver to act on directories outside its managed path on the NFS server, potentially deleting or modifying them; this requires the ability to create PersistentVolumes with high privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:02Z"},"euvd":{"id":"EUVD-2026-13831","exploited":false,"provenance":"source"}}