Advisory

GHSA-qxx2-7h4c-83f4

Also known as: CVE-2026-24843, GO-2026-4407

Summary

melange QEMU runner could write files outside workspace directory

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-02-03 23:47 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

chainguard.dev/melange

Go · All systems

Affected

  • introduced 0.11.3, fixed 0.40.3 (semver)

Fixed versions

0.40.3

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences