Advisory

GHSA-2mjq-54qg-7w6j

Also known as: CVE-2026-3864, GO-2026-4816

Summary

NFS CSI driver for Kubernetes is Vulnerable to Path Traversal through Volume Identifier Parameter

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-03-21 00:31 UTC
Modified
2026-03-26 21:11 UTC

Affected packages and fixes

github.com/kubernetes-csi/csi-driver-nfs

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20260210055231-316af2d86b91 (semver)

Fixed versions

0.0.0-20260210055231-316af2d86b91

Fix

  • Fixed version 0.0.0-20260210055231-316af2d86b91
    go get github.com/kubernetes-csi/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences