Database/Container, Kubernetes & orchestration
AWS EFS CSI Driver: crafted volumeHandle causes recursive deletion of directories on another filesystem
Impact
The volume deletion path does not verify that the access point named in a PersistentVolume's volumeHandle actually belongs to the target filesystem in that same handle. A Kubernetes user allowed to create PersistentVolumes can pair an access point from one filesystem with a different target filesystem and have the driver recursively delete directories on an EFS filesystem they were never authorised to touch. On a shared cluster where EFS carries datasets, checkpoints or shared home directories for multiple teams, this is cross-tenant data destruction driven entirely through the Kubernetes API. It is integrity and availability only; nothing is read back to the attacker.
Who can reach it
An authenticated Kubernetes user holding PersistentVolume creation privileges. PV creation is a cluster-scoped permission, so this is a privileged-user boundary rather than an ordinary pod tenant, but it is a permission that is often handed out to platform and ML teams.
What to do
Upgrade the driver to v3.4.1 and roll the CSI controller and node DaemonSet pods; no node drain or reboot is required. Until then, audit who holds create on persistentvolumes cluster-wide and remove it from anyone who does not need static provisioning.
References
Related entries
- CRI-O: All pod processes share one memory cgroup, so a workload OOM kills conmon and destabilises the nodeCVE-2019-14891 · CRI-OMedium
- containerd: Crafted image can change Unix file permissions of existing host files during extractionCVE-2021-32760 · containerdMedium
- Istio: A user with CREATE on Gateway API resources escalates privilege in istiodCVE-2022-21701 · IstioMedium
- runc: Rootless runc leaves /sys/fs/cgroup writable inside the containerCVE-2023-25809 · runcMedium
- Slurm: Authentication-handling mistake in stepmgr lets an attacker execute processes under other users' jobsCVE-2024-48936 · SlurmMedium
- Istio: A RequestAuthentication jwksUri pointed at an internal service makes istiod issue an unauthenticated requestCVE-2026-41413 · IstioMedium
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.