Path Traversal in Chainguard Melange

CVE-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 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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.002 (6.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-24843?
CVE-2026-24843 is a high-severity vulnerability in Chainguard Melange, classified under Path Traversal. CVSS score: 8.2/10. Published 2026-02-04.
How severe is CVE-2026-24843?
High severity. CVSS v3 base score is 8.2 out of 10.