Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVE-2026-47243
Summary
In the runtime-rs standalone virtio-fs path, verified here with QEMU (and verified with Cloud Hypervisor too), Kata Containers runs host `virtiofsd` as root with: '--sandbox none --seccomp none' If an attacker has root-equivalent execution inside the Kata guest VM, they can send raw FUSE requests directly to the host 'virtiofsd'. With the tested runtime-rs virtio-fs configuration, a raw 'FUSE_SYMLINK' request whose new symlink name is an absolute host path is honored outside the virtio-fs shared directory. This lets guest root create host-root owned symlinks in sensitive host paths. The PoC created here will create symlinks in the host '/etc/cron.d' directory, causing host cron to execute a guest-controlled payload as host root. This issue affects Kata Containers versions prior to 3.31.0.
- LOW
- NETWORK
- NONE
- HIGH
CWE-22 - Path Traversal
Path traversal (or directory traversal), is a vulnerability that allows malicious users to traverse the server's root directory, gaining access to arbitrary files and folders such as application code & data, back-end credentials, and sensitive operating system files. In the worst-case scenario, an attacker could potentially execute arbitrary files on the server, resulting in a denial of service attack. Such an exploit may severely impact the integrity, confidentiality, and availability of an application.
References
Advisory Timeline
- Published