{"schema_version":"1.7.3","id":"GHSA-qxx2-7h4c-83f4","published":"2026-02-03T23:47:29Z","modified":"2026-02-05T10:11:01.203078Z","aliases":["CVE-2026-24843","GO-2026-4407"],"related":["CGA-9gm7-5vmq-85jv"],"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.\n\n**Fix:** Fixed in [6e243d0d](https://github.com/chainguard-dev/melange/commit/6e243d0d46699f837d7c392397a694d2bcc7612b). Merged in release.\n\n**Acknowledgements**\n\nmelange thanks Oleh Konko from [1seal](https://1seal.org/) for discovering and reporting this issue.","affected":[{"package":{"name":"chainguard.dev/melange","ecosystem":"Go","purl":"pkg:golang/chainguard.dev/melange"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.11.3"},{"fixed":"0.40.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-qxx2-7h4c-83f4/GHSA-qxx2-7h4c-83f4.json"}}],"references":[{"type":"WEB","url":"https://github.com/chainguard-dev/melange/security/advisories/GHSA-qxx2-7h4c-83f4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24843"},{"type":"WEB","url":"https://github.com/chainguard-dev/melange/commit/6e243d0d46699f837d7c392397a694d2bcc7612b"},{"type":"PACKAGE","url":"https://github.com/chainguard-dev/melange"}],"database_specific":{"cwe_ids":["CWE-22"],"github_reviewed":true,"github_reviewed_at":"2026-02-03T23:47:29Z","nvd_published_at":"2026-02-04T20:16:05Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H"}]}