Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. chainguard.dev/melange
  4. ›
  5. CVE-2026-24843

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

February 3, 2026 (updated February 4, 2026)

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.

References

  • github.com/advisories/GHSA-qxx2-7h4c-83f4
  • github.com/chainguard-dev/melange
  • github.com/chainguard-dev/melange/commit/6e243d0d46699f837d7c392397a694d2bcc7612b
  • github.com/chainguard-dev/melange/security/advisories/GHSA-qxx2-7h4c-83f4
  • nvd.nist.gov/vuln/detail/CVE-2026-24843

Code Behaviors & Features

Detect and mitigate CVE-2026-24843 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.11.3 before 0.40.3

Fixed versions

  • 0.40.3

Solution

Upgrade to version 0.40.3 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/chainguard.dev/melange/CVE-2026-24843.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:22 +0000.