CVE-2026-3864
Path Traversal in Kubernetes NFS CSI Driver Allows Directory Deletion
Publication date: 2026-03-20
Last updated on: 2026-03-21
Assigner: Kubernetes
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| kubernetes | csi_driver_for_nfs | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-22 | The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in the Kubernetes CSI Driver for NFS where the subDir parameter in volume identifiers is not properly validated. Attackers who can create PersistentVolumes using the NFS CSI driver can include path traversal sequences (../) in the volume identifiers. This allows the driver, during volume deletion or cleanup, to operate on directories outside the intended managed path on the NFS server.
How can this vulnerability impact me? :
The vulnerability can lead to unintended deletion or modification of directories on the NFS server. This means that an attacker with the ability to create PersistentVolumes could cause data loss or corruption by affecting files and directories outside the intended scope of the volume management.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
I don't know