6.5Medium

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

Kubernetes CSI Driver for NFS Published: (7 months ago)

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.

Weakness (CWE): CWE-22

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Kubernetes CSI Driver for NFS < 4.13.1, fixed 4.13.1

References and patches