GHSA-qxx2-7h4c-83f4

Suggest an improvement
Source
https://github.com/advisories/GHSA-qxx2-7h4c-83f4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-qxx2-7h4c-83f4/GHSA-qxx2-7h4c-83f4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qxx2-7h4c-83f4
Aliases
Related
Published
2026-02-03T23:47:29Z
Modified
2026-02-05T10:11:01.203078Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H CVSS Calculator
Summary
melange QEMU runner could write files outside workspace directory
Details

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. Merged in release.

Acknowledgements

melange thanks Oleh Konko from 1seal for discovering and reporting this issue.

Database specific
{
    "cwe_ids": [
        "CWE-22"
    ],
    "github_reviewed": true,
    "severity": "HIGH",
    "github_reviewed_at": "2026-02-03T23:47:29Z",
    "nvd_published_at": "2026-02-04T20:16:05Z"
}
References

Affected packages

Go / chainguard.dev/melange

Package

Name
chainguard.dev/melange
View open source insights on deps.dev
Purl
pkg:golang/chainguard.dev/melange

Affected ranges

Type
SEMVER
Events
Introduced
0.11.3
Fixed
0.40.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-qxx2-7h4c-83f4/GHSA-qxx2-7h4c-83f4.json"