# CVE-2026-3864: CSI Driver for NFS path traversal via subDir may delete unintended directories on the NFS server

- Severity: Medium 6.5 (CVSS:3.1, scored by kubernetes) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.78%, higher than 57% of CVEs (2026-12-01)
- Published: 2026-03-20T22:21:33.827Z
- Modified: 2026-06-17T10:44:21.283Z
- Also known as: GHSA-2mjq-54qg-7w6j, GO-2026-4816
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: kubernetes

## 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.

(As written by CVE List.)

## Affected

- Kubernetes CSI Driver for NFS: before 4.13.1 (not affected: 4.13.1)
- github.com/kubernetes-csi/csi-driver-nfs (Go): before 0.0.0-20260210055231-316af2d86b91

## Every score

- kubernetes: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://groups.google.com/g/kubernetes-security-announce/c/i4ZKN9VLcUE> (mailing-list, web)
- <https://github.com/kubernetes/kubernetes/issues/137797> (issue-tracking, web)
- <http://www.openwall.com/lists/oss-security/2026/03/17/1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-3864> (advisory)
- <https://github.com/kubernetes-csi/csi-driver-nfs/commit/316af2d86b913a595542dc17e8599cf81afd938f> (fix, web)
- <https://github.com/kubernetes-csi/csi-driver-nfs> (package)
- <https://github.com/advisories/GHSA-2mjq-54qg-7w6j> (advisory)

## Sources

- CVE List: [CVE-2026-3864](https://www.cve.org/CVERecord?id=CVE-2026-3864), CVE Terms of Use, modified 2026-03-23
- GitHub Advisory Database: [GHSA-2mjq-54qg-7w6j](https://github.com/advisories/GHSA-2mjq-54qg-7w6j), CC-BY-4.0, modified 2026-03-26
- Go Vulnerability Database: [GO-2026-4816](https://pkg.go.dev/vuln/GO-2026-4816), CC-BY-4.0, modified 2026-03-26
- NVD: [CVE-2026-3864](https://nvd.nist.gov/vuln/detail/CVE-2026-3864), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-3864 · Whole record: https://cve.day/CVE-2026-3864.json · Rebuilt by cve.day 2026-11-25T22:59:16.372Z
