GHSA-qxx2-7h4c-83f4HighCVSS 8.2

melange QEMU runner could write files outside workspace directory

Published
February 3, 2026
Last Modified
February 4, 2026

🔗 CVE IDs covered (1)

📋 Description

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 retrieveWorkspace function 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.

🎯 Affected products1

  • go/chainguard.dev/melange:>= 0.11.3, < 0.40.3

🔗 References (4)