High severity · published Feb 4, 2026
CVE-2026-24843
melange QEMU runner could write files outside workspace directory
8.4
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 8% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
ME
melange · chainguard-dev
>= 0.11.3, < 0.40.3 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-24843
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-24843
Patch
https://github.com/chainguard-dev/melange/commit/6e243d0d46699f837d7c392397a694d2bcc7612b
Patch
https://github.com/chainguard-dev/melange/security/advisories/GHSA-qxx2-7h4c-83f4
More from melange
8.8
CVE-2026-24844
melange pipeline working-directory could allow command injection
8.3
CVE-2026-54174
melange: Incomplete package integrity verification allows data section substitution
7.8
CVE-2026-25143
melange affected by potential host command execution via license-check YAML mode patch pipeline
6.1
CVE-2026-29050
melange has Path Traversal When Resolving External Pipelines via Unvalidated pipeline[].uses
5.5
CVE-2026-25145
melange has a path traversal in license-path which allows reading files outside workspace
