melange QEMU runner could write files outside workspace directory
cve-program · CVE-2026-24843
Publishedmelange allows users to build apk packages using declarative pipelines. In version 0.11.3 to before 0.40.3, 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. This issue has been patched in version 0.40.3.
Read the publisher's advisoryeuvd · EUVD-2026-5373
Publishedmelange allows users to build apk packages using declarative pipelines. In version 0.11.3 to before 0.40.3, 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. This issue has been patched in version 0.40.3.
Read the publisher's advisorynvd · CVE-2026-24843
Publishedmelange allows users to build apk packages using declarative pipelines. In version 0.11.3 to before 0.40.3, 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. This issue has been patched in version 0.40.3.
Read the publisher's advisoryosv · GHSA-qxx2-7h4c-83f4
PublishedAn 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](https://github.com/chainguard-dev/melange/commit/6e243d0d46699f837d7c392397a694d2bcc7612b). Merged in release. **Acknowledgements** melange thanks Oleh Konko from [1seal](https://1seal.org/) for discovering and reporting this issue.
Read the publisher's advisoryosv · GO-2026-4407
Publishedmelange QEMU runner could write files outside workspace directory in chainguard.dev/melange
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-24843 · CVE overview and exploitation status
cve-program · CVE-2026-24843
- https://github.com/chainguard-dev/melange/security/advisories/GHSA-qxx2-7h4c-83f4
- https://github.com/chainguard-dev/melange/commit/6e243d0d46699f837d7c392397a694d2bcc7612b
euvd · EUVD-2026-5373
- https://github.com/chainguard-dev/melange/security/advisories/GHSA-qxx2-7h4c-83f4
- https://github.com/chainguard-dev/melange/commit/6e243d0d46699f837d7c392397a694d2bcc7612b
nvd · CVE-2026-24843
- https://github.com/chainguard-dev/melange/commit/6e243d0d46699f837d7c392397a694d2bcc7612b
- https://github.com/chainguard-dev/melange/security/advisories/GHSA-qxx2-7h4c-83f4
osv · GHSA-qxx2-7h4c-83f4
- 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
osv · GO-2026-4407
Related changes
Linked by CVE identifierNo related changes are available here.