CVE-2026-24843
HIGH 8.4CVSS 3.1melange QEMU runner could write files outside workspace directory
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.
- Published
- 4 Feb 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-qxx2-7h4c-83f4GO-2026-4407
- Sources
- NVDJSONOSV GHSA-qxx2-7h4c-83f4JSONOSV GO-2026-4407JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | chainguard | melangecpe:2.3:a:chainguard:melange:*:*:*:*:*:go:*:* |
>= 0.11.3, < 0.40.5 | 0.40.5 |
| OSV | Go | chainguard.dev/melange | >= 0.11.3, < 0.40.3 | 0.40.3 |
References
- https://github.com/chainguard-dev/melange/commit/6e243d0d46699f837d7c392397a694d2bcc7612b · Patch, WEB
- https://github.com/chainguard-dev/melange/security/advisories/GHSA-qxx2-7h4c-83f4 · Patch, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-24843 · ADVISORY
- https://github.com/chainguard-dev/melange · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 4 Feb 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Feb 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Feb 2026)