Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/kubernetes-csi/csi-driver-nfs
  4. ›
  5. CVE-2026-3864

CVE-2026-3864: NFS CSI driver for Kubernetes is Vulnerable to Path Traversal through Volume Identifier Parameter

March 21, 2026 (updated March 24, 2026)

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.

References

  • github.com/advisories/GHSA-2mjq-54qg-7w6j
  • github.com/kubernetes-csi/csi-driver-nfs
  • github.com/kubernetes-csi/csi-driver-nfs/commit/316af2d86b913a595542dc17e8599cf81afd938f
  • github.com/kubernetes/kubernetes/issues/137797
  • groups.google.com/g/kubernetes-security-announce/c/i4ZKN9VLcUE
  • nvd.nist.gov/vuln/detail/CVE-2026-3864

Code Behaviors & Features

Detect and mitigate CVE-2026-3864 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20260210055231-316af2d86b91

Fixed versions

  • 0.0.0-20260210055231-316af2d86b91

Solution

Upgrade to version 0.0.0-20260210055231-316af2d86b91 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/kubernetes-csi/csi-driver-nfs/CVE-2026-3864.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:19:00 +0000.