melange: unbounded HTTP download in `melange update-cache` can exhaust disk in CI
Summary
| CVE | CVE-2026-29049 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-03-06 07:16:02 UTC |
| Updated | 2026-07-07 14:16:29 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 4.3 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
EPSS: 0.002260000 probability, percentile 0.132790000 (date 2026-07-09)
Problem Types: CWE-400 | CWE-918 | CWE-400 CWE-400: Uncontrolled Resource Consumption | CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 4.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| 3.1 | CNA | DECLARED | 4.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
LowCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Chainguard | Melange | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Chainguard-dev | Melange | affected < 0.43.4 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/chainguard-dev/melange/commit/652ca5af08588f78e2d405e64b058fa... | [email protected] | github.com | |
| github.com/chainguard-dev/melange/releases/tag/v0.43.4 | [email protected] | github.com | |
| github.com/chainguard-dev/melange/security/advisories/GHSA-7rp8-r62p-q6wc | [email protected] | github.com | Vendor Advisory |
| github.com/chainguard-dev/melange/pull/2379 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.