CVE-2026-29049 melange: unbounded HTTP download in `melange update-cache` can exhaust disk in CI
MediumCVSS 4.3
EPSS 0.26%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
melange allows users to build apk packages using declarative pipelines. In version 0.40.5 and prior, melange update-cache downloads URIs from build configs via io.Copy without any size limit or HTTP client timeout (pkg/renovate/cache/cache.go). An attacker-controlled URI in a melange config can cause unbounded disk writes, exhausting disk on the build runne. Version 0.43.4 contains a patch.
Upgrade path
3 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| chainguard.dev/melange(Go) | < 0.43.4; All versions | 0.43.4 | Partially fixed |
| Chainguard melange | <= 0.40.5 | after 0.40.5 | Fixed |
| chainguard-dev melange | = < 0.43.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| chainguard.dev/melange(Go) | < 0.43.4 | 0.43.4 |
| chainguard.dev/melange(Go) | All versions | No fix listed |
| chainguard-dev melange | = < 0.43.4 | No fix listed |
| Chainguard melange | <= 0.40.5 | No fix listed |
References
- https://github.com/chainguard-dev/melange/security/advisories/GHSA-7rp8-r62p-q6wc vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/chainguard-dev/melange/pull/2379 patch
- https://github.com/chainguard-dev/melange/commit/652ca5af08588f78e2d405e64b058fac8398d23f patch
- github.com product
- https://github.com/chainguard-dev/melange/releases/tag/v0.43.4
- github.com