Skip to main content
← All vulnerabilities
CVE-2026-24843GO-2026-4407GHSA-QXX2-7H4C-83F4

melange QEMU runner could write files outside workspace directory

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.40.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • chainguard-dev melange

    From 0.11.3 · fixed in 0.40.3

  • chainguard.dev/melangeGo

    From 0.11.3 · fixed in 0.40.3

References 2

GitHub · chainguard-dev/melange