Link resolution flaw in melange bubblewrap runner exposes host files
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Chainguard melange before 0.66.1 has a link resolution flaw in its bubblewrap runner, where extracting build environment layers can resolve links outside the guest root (CWE-59). A build step can read or modify host files from inside the sandbox. In the runner scenario, the build must consume a crafted package signed by a key it trusts, and the target file must be on the same filesystem as the temporary directory and linkable by the user running melange. Library callers that pass untrusted layers to LoadImage are also affected, while the Docker and QEMU runners are unaffected.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
In melange versions before 0.66.1, the bubblewrap runner can resolve links outside the guest root when extracting build environment layers. This can let build steps read or modify host files from inside the sandbox. In the runner scenario, the build must consume a crafted package signed by a key it trusts. The target file must be on the same filesystem as the temporary directory and linkable by the user running melange. Library callers that pass untrusted layers to LoadImage are also affected. The Docker and QEMU runners are unaffected.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| chainguard-dev | melange | before 0.66.1 | 0.66.1 | Patch available | CNA |
- melange Vendorchainguard-dev Affected before 0.66.1 Fixed in 0.66.1 Patch available CNA
Remediation
Upgrade Chainguard melange to version 0.66.1 or later. The sources list no fixed version for the bubblewrap runner beyond melange 0.66.1.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA melange (Chainguard) Fixed in 0.66.1
Timeline
- 2026-12-04 Threatist record created from CVE-2026-145143
More chainguard-dev vulnerabilities
- TI-2026-93186 Heap-based buffer overflow in Oracle Java SE and GraalVM compiler CVSS 3.1HIGH 8.1
- TI-2024-23955 apko Exposure of HTTP basic auth credentials in log output CVSS 3.1HIGH 7.5
- TI-2026-104291 Unverified package documents let crafted APKs falsify apko SBOMs CVSS 4.0MEDIUM 6.9
- TI-2026-85692 MinIO Signature V4 verification accepts unsigned x-amz-* headers CVSS 4.0HIGH 8.8
- TI-2026-22680 kaniko has tar archive path traversal in build context extraction allows writing files outside destination directory CVSS 3.1HIGH 8.2
- TI-2026-83911 kaniko sends Azure access tokens to lookalike ACR registry hosts CVSS 3.1CRITICAL 9.3
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences