CVE-2026-3864

CSI Driver for NFS path traversal via subDir may delete unintended directories on the NFS server

Published Mar 20, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

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

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-2mjq-54qg-7w6j NFS CSI driver for Kubernetes is Vulnerable to Path Traversal through Volume Identifier Parameter
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Kubernetes
Kubernetes csi Driver For Nfs
Vendors & Products Kubernetes
Kubernetes csi Driver For Nfs
Type Values Removed Values Added
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.
Title CSI Driver for NFS path traversal via subDir may delete unintended directories on the NFS server
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
kubernetes
Published
Updated
Mar 23, 2026, 2:13 PM
Reserved
Mar 10, 2026, 6:18 AM
Status
Awaiting Analysis
Published
Mar 20, 2026, 11:16 PM
Modified
Jun 17, 2026, 10:44 AM