CVE-2026-24843
melange QEMU runner could write files outside workspace directory
Auswirkung
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. **Fix:** Fixed in [6e243d0d](https://github.com/chainguard-dev/melange/commit/6e243d0d46699f837d7c392397a694d2bcc7612b). Merged in release. **Acknowledgements** melange thanks Oleh Konko from [1seal](https://1seal.org/) for discovering and reporting this issue.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle. Der Angriff kann über die verwundbare Komponente hinaus wirken.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | chainguard.dev/melange | >= 0.11.3, < 0.40.3 | 0.40.3 |
Betroffene Produkte · Chainguard
| Produkt | Betroffene Versionen |
|---|---|
| Melange | ab 0.11.3 vor 0.40.5 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/chainguard-dev/melange/commit/6e243d0d46699f837d7c392397a694d2bcc7612b
- https://github.com/chainguard-dev/melange/security/advisories/GHSA-qxx2-7h4c-83f4
- https://github.com/advisories/GHSA-qxx2-7h4c-83f4
- https://nvd.nist.gov/vuln/detail/CVE-2026-24843