A flaw was found in runc. This vulnerability allows an attacker to break container isolation by supplying a malicious container image. During container checkpoint and restore operations, runc fails to properly sanitize mount destination paths when registering them with CRIU (Checkpoint/Restore In Userspace). By placing specific delimiter characters within a symbolic link inside the container filesystem, an attacker can manipulate mount definitions and force runc to mount arbitrary host directories into the restored container with read-write access.
Only users who both checkpoint and restore containers running untrusted images are affected. Containers that are never restored are not affected; checkpointing alone (such as Kubernetes forensic container checkpointing) does not trigger the issue unless the checkpoint is later restored. Avoid restoring checkpoints of untrusted container images until a fixed runc version is available.