KEP-5855keps/sig-node/5855-noexec-emptyDir
Allow bind mount options (noexec, nodev, nosuid) on volumeMounts
This KEP introduces a bindMountOptions field on volumeMounts in the pod spec so users can apply security-related bind mount flags such as noexec, nodev, and nosuid to any volume type. Today, volume mounts inside containers do not carry noexec, nosuid, or nodev flags by default, which can undermine security for containers that rely on read-only root filesyste… Full summary
This KEP introduces a bindMountOptions field on volumeMounts in the pod spec so users can apply security-related bind mount flags such as noexec, nodev, and nosuid to any volume type. Today, volume mounts inside containers do not carry noexec, nosuid, or nodev flags by default, which can undermine security for containers that rely on read-only root filesystems or need to meet hardening standards. By adding configurable (opt-in) bindMountOptions to volume mounts, users can restrict a mount to be writable for data only (e.g. noexec), block setuid/setgid binaries (nosuid), and prevent use of device files (nodev), in any combination, in a native and declarative way. Because the field is on volumeMounts, it applies to all volume types (emptyDir, PersistentVolumes, CSI, projected, etc.) and provides per-container granularity, i.e., different containers in the same pod can mount the same volume with different options.
Facts
- Approvers
- @mrunalp
- Reviewers
- @jsafrane@haircommander
- Tracking issue
- #5855(opens GitHub in a new tab) openmilestone v1.38sig/nodesig/storagestage/betatracked/yeslead-opted-in
- Milestones
- alpha v1.37beta v1.38stable v1.40
- Participating SIGs
- sig-storagesig-security
- Feature gates
- VolumeBindMountOptions
- Created / last updated
- 2026-01-30 / none