{"id":"CVE-2026-3864","aliases":["CVE-2026-3864","GHSA-2mjq-54qg-7w6j","GO-2026-4816"],"related":[],"kind":"vulnerability","state":"published","title":"CSI Driver for NFS path traversal via subDir may delete unintended directories on the NFS server","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"NFS CSI driver for Kubernetes is Vulnerable to Path Traversal through Volume Identifier Parameter in github.com/kubernetes-csi/csi-driver-nfs","format":"markdown","source":"go"},{"lang":"es","text":"Se descubrió una vulnerabilidad en el controlador CSI de Kubernetes para NFS donde el parámetro subDir en los identificadores de volumen no se validaba suficientemente. Atacantes con la capacidad de crear PersistentVolumes que hacen referencia al controlador CSI de NFS podrían crear identificadores de volumen que contienen secuencias de salto de ruta (../). Durante las operaciones de eliminación o limpieza de volumen, el controlador podría operar en directorios no deseados fuera de la ruta gestionada prevista dentro de la exportación NFS. Esto podría llevar a la eliminación o modificación de directorios en el servidor NFS.","source":"nvd"}],"published":"2026-03-20T22:21:33.827Z","modified":"2026-06-17T10:44:21.283Z","severity":{"scorer":"kubernetes","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"kubernetes","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"4.13.1","status":"affected"},{"version":"4.13.1","status":"unaffected"}],"vendor":"Kubernetes","product":"CSI Driver for NFS","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20260210055231-316af2d86b91"}],"ecosystem":"Go","package":"github.com/kubernetes-csi/csi-driver-nfs","purl":"pkg:golang/github.com/kubernetes-csi/csi-driver-nfs","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20260210055231-316af2d86b91"}],"ecosystem":"Go","package":"github.com/kubernetes-csi/csi-driver-nfs","purl":"pkg:golang/github.com/kubernetes-csi/csi-driver-nfs","source":"go"}],"references":[{"url":"https://groups.google.com/g/kubernetes-security-announce/c/i4ZKN9VLcUE","tags":["mailing-list","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/kubernetes/kubernetes/issues/137797","tags":["issue-tracking","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/03/17/1","tags":["web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-3864","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/kubernetes-csi/csi-driver-nfs/commit/316af2d86b913a595542dc17e8599cf81afd938f","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/kubernetes-csi/csi-driver-nfs","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-2mjq-54qg-7w6j","tags":["advisory"],"sources":["go"]}],"credits":["Shaul Ben Hai, Senior Staff Security Researcher, SentinelOne"],"assigner":"kubernetes","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-23T14:13:44.147Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-3864","url":"https://www.cve.org/CVERecord?id=CVE-2026-3864","licence":"CVE Terms of Use","modified":"2026-03-23T14:13:53.553Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2mjq-54qg-7w6j","url":"https://github.com/advisories/GHSA-2mjq-54qg-7w6j","licence":"CC-BY-4.0","modified":"2026-03-26T21:11:07.373Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4816","url":"https://pkg.go.dev/vuln/GO-2026-4816","licence":"CC-BY-4.0","modified":"2026-03-26T21:03:36.263Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-3864","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-3864","licence":"Public domain","modified":"2026-06-17T10:44:21.283Z"}],"updatedAt":"2026-11-25T22:59:16.372Z","epss":{"score":0.00781,"percentile":0.57154,"date":"2026-12-01T12:00:22.000Z"}}