CVE-2026-24843Chainguard Melange
High 8.4
Follow: this CVE · Chainguard · Chainguard Melange We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 8.4
- EPSS
- —
- Auth required
- Yes
- Published
- Feb 4, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Melange.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | chainguard.dev/melange |
≥ 0.11.3 < 0.40.3 |
0.40.3 |
go get chainguard.dev/melange@v0.40.3 |
| Go | chainguard.dev/melange |
≥ 0.11.3 < 0.40.3 |
0.40.3 |
go get chainguard.dev/melange@v0.40.3 |
Per OSV / GitHub Advisories (GHSA-qxx2-7h4c-83f4, GO-2026-4407). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| chainguard | melange | ≥ 0.11.3 < 0.40.5 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:0403-1 · Feb 6, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch Vendor Advisory