chainguard.dev/melange
Affected
- introduced
0.11.3, fixed0.40.3(semver)
Fixed versions
0.40.3
Fix
- Fixed version
0.40.3go get chainguard.dev/[email protected]
Advisory
Also known as: CVE-2026-24843, GO-2026-4407
melange QEMU runner could write files outside workspace directory
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.
High Basis: The source's own band: HIGH
0.11.3, fixed 0.40.3 (semver)0.40.3
0.40.3go get chainguard.dev/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0