8.2Hoch

CVE-2026-24843melange QEMU runner could write files outside workspace directory

chainguard-dev melange Veröffentlicht: (vor 9 Monaten)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-22

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
chainguard melange 0.11.3 – < 0.40.5
chainguard-dev melange >= 0.11.3, < 0.40.3

Referenzen und Patches

CPE-Treffer (NVD) (1)

  • cpe:2.3:a:chainguard:melange:*:*:*:*:*:go:*:* ≥ 0.11.3 < 0.40.5