Intel

AIKIDO-2026-630977

github.com/kubernetes-csi/csi-driver-smb is vulnerable to Path Traversal

CVE-2026-3865Published 4 days ago
November 16, 2026

65

CVE Score

Medium

Path Traversal

Are you affected? Scan for Free

TL;DR

The SMB CSI driver uses the subDir value from a PersistentVolume identifier as a path on the SMB server without rejecting ../. On volume delete or cleanup, the driver can remove or change directories outside the share directory it was meant to manage.

How do I fix this?

Upgrade the github.com/kubernetes-csi/csi-driver-smb library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and users can create PersistentVolumes that reference the SMB CSI driver.

Versions

0.2.0 - 1.20.0

Fixed in 1.20.1

Background info

github.com/kubernetes-csi/csi-driver-smb is vulnerable to Path Traversal in versions 0.2.0 - 1.20.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea