{"id":"GHSA-qxx2-7h4c-83f4","revision":"e82bc7be80964957ab20ac8a9e8c9920","records":[{"revision":"e82bc7be80964957ab20ac8a9e8c9920","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-qxx2-7h4c-83f4","aliases":["CVE-2026-24843","GO-2026-4407"],"title":"melange QEMU runner could write files outside workspace directory","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.\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.","state":0,"publishedAt":"2026-02-03T23:47:29+00:00","modifiedAt":"2026-09-10T03:50:59.6958456+00:00","affected":[{"ecosystem":"Go","name":"chainguard.dev/melange","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.11.3"},{"kind":"fixed","version":"0.40.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/chainguard-dev/melange/security/advisories/GHSA-qxx2-7h4c-83f4","https://nvd.nist.gov/vuln/detail/CVE-2026-24843","https://github.com/chainguard-dev/melange/commit/6e243d0d46699f837d7c392397a694d2bcc7612b","https://github.com/chainguard-dev/melange"],"sourceUrl":"https://github.com/advisories/GHSA-qxx2-7h4c-83f4","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-qxx2-7h4c-83f4","identifiers":["GHSA-qxx2-7h4c-83f4","CVE-2026-24843","GO-2026-4407"]},"retained":false,"historicalAffected":[]}],"coverage":[]}