CVE-2026-24843 melange QEMU runner could write files outside workspace directory
HighCVSS 8.4
EPSS 0.19%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Chainguard melange | >= 0.11.3, < 0.40.5 | 0.40.5 | Fixed |
| chainguard.dev/melange(Go) | >= 0.11.3, < 0.40.3 | 0.40.3 | Fixed |
| chainguard-dev melange | = >= 0.11.3, < 0.40.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| chainguard-dev melange | = >= 0.11.3, < 0.40.3 | No fix listed |
| chainguard.dev/melange(Go) | >= 0.11.3, < 0.40.3 | 0.40.3 |
| Chainguard melange | >= 0.11.3, < 0.40.5 | 0.40.5 |
References
- https://github.com/chainguard-dev/melange/security/advisories/GHSA-qxx2-7h4c-83f4 patch vendor-advisory
- https://github.com/chainguard-dev/melange/commit/6e243d0d46699f837d7c392397a694d2bcc7612b patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com