CVE-2026-24843
published 2026-02-04CVE-2026-24843: melange 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…
PriorityP344high8.4CVSS 3.1
AVLACLPRLUINSCCNIHAH
EPSS
0.17%
6.3th percentile
melange 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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| chainguard-dev | melange | — | — |
| chainguard.dev | melange | >= 0.11.3 < 0.40.3 | 0.40.3 |
| chainguard | melange | >= 0.11.3 < 0.40.5 | 0.40.5 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
melange QEMU runner could write files outside workspace directory in chainguard.dev/melange
osv·2026-02-05
CVE-2026-24843 melange QEMU runner could write files outside workspace directory in chainguard.dev/melange
melange QEMU runner could write files outside workspace directory in chainguard.dev/melange
melange QEMU runner could write files outside workspace directory in chainguard.dev/melange
OSV
melange QEMU runner could write files outside workspace directory
osv·2026-02-03
CVE-2026-24843 [HIGH] melange QEMU runner could write files outside workspace directory
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](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.
GHSA
melange QEMU runner could write files outside workspace directory
ghsa·2026-02-03
CVE-2026-24843 [HIGH] CWE-22 melange QEMU runner could write files outside workspace directory
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](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.
No detection rules found.
No public exploits indexed.
2026-02-04
Published