melange QEMU runner could write files outside workspace directory
Description
Published to the GitHub Advisory Database
Feb 3, 2026
Reviewed
Feb 3, 2026
Published by the National Vulnerability Database
Feb 4, 2026
Last updated
Feb 4, 2026
An attacker who can influence the tar stream from a QEMU guest VM could write files outside the intended workspace directory on the host. The
retrieveWorkspacefunction extracts tar entries without validating that paths stay within the workspace, allowing Path Traversal via../sequences.Fix: Fixed in 6e243d0d. Merged in release.
Acknowledgements
melange thanks Oleh Konko from 1seal for discovering and reporting this issue.
References