A flaw exists where a specially crafted container image or instance backup can be used to read or create and write arbitrary files on the host, potentially leading to arbitrary command execution. The issue occurs because the software fails to reject a top-level `templates` symlink during tar extraction in `internal/server/storage/utils.go` and `shared/archive/archive.go`. Additionally, for instance backups, the `rsync.LocalCopy` function in `internal/server/storage/drivers/driver dir volumes.go` uses the `-a` argument without the `--safe-links` flag, allowing the same symlink exploitation. This enables a malicious actor to map the `templates` directory to an arbitrary host directory, such as `/etc/cron.d`, to modify system files.