CVE-2026-3864CSI Driver for NFS path traversal via subDir may delete unintended directories on the…
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.
What to do
Fixed builds are available from Go: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Go library | github.com/kubernetes-csi/csi-driver-nfs | Fixed | 0.0.0-20260210055231-316af2d86b91 | GHSA-2mjq-54qg-7w6j |
What the vendor says
As published in the CVE record by kubernetes, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Kubernetes CSI Driver for NFS: affected: before 4.13.1, 4.13.1 not affected; fixed in
4.13.1
Solution: 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.
References
- https://groups.google.com/g/kubernetes-security-announce/c/i4ZKN9VLcUE
- https://github.com/kubernetes/kubernetes/issues/137797
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.