Vulnerability · Published Mar 6, 2026 · Assigned by GitHub_M
CVE-2026-29049melange: unbounded HTTP download in `melange update-cache` can exhaust disk in CI
Medium 4.3
In plain English
A medium-severity uncontrolled resource consumption in melange from chainguard-dev. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | chainguard.dev/melange | 0.43.4 | GHSA-7rp8-r62p-q6wc |
| Go | chainguard.dev/melange | no fix listed | GO-2026-4588 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| chainguard-dev | melange | < 0.43.4 |
Weakness: CWE-400, CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
References
- https://github.com/chainguard-dev/melange/security/advisories/GHSA-7rp8-r62p-q6wc x_refsource_CONFIRM
- https://github.com/chainguard-dev/melange/pull/2379 x_refsource_MISC
- https://github.com/chainguard-dev/melange/commit/652ca5af08588f78e2d405e64b058fac8398d23f x_refsource_MISC
- https://github.com/chainguard-dev/melange/releases/tag/v0.43.4 x_refsource_MISC