GitHub Advisoryadvisory · Go

GHSA-2mjq-54qg-7w6j NFS CSI driver for Kubernetes is Vulnerable to Path Traversal through Volume Identifier Parameter

MEDIUM Published 2026-03-21 Modified 2026-03-24 Official page ↗
Aliases
CVE-2026-3864
Ecosystem
Go
Packages
github.com/kubernetes-csi/csi-driver-nfs
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
Weaknesses
CWE-22
Reviewed
2026-03-24

Affected packages

• Go github.com/kubernetes-csi/csi-driver-nfs: < 0.0.0-20260210055231-316af2d86b91 → 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.

Related

Alias · CVE (1)

  • CVE-2026-3864 A vulnerability was discovered in the Kubernetes CSI Driver for NFS where the subDir parameter in volume identifiers was insufficiently… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References