{"id":"CVE-2026-29049","title":"melange allows users to build apk packages using declarative pipelines","summary":"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/cac…","severity":"medium","cvss":4.3,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","cwe":["CWE-400","CWE-918"],"vendor":"chainguard","product":"melange","affected":["melange <= 0.40.5"],"published":"2026-03-06","updated":"2026-07-07","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-29049","references":[{"url":"https://github.com/chainguard-dev/melange/commit/652ca5af08588f78e2d405e64b058fac8398d23f","label":"security-advisories@github.com"},{"url":"https://github.com/chainguard-dev/melange/pull/2379","label":"security-advisories@github.com"},{"url":"https://github.com/chainguard-dev/melange/releases/tag/v0.43.4","label":"security-advisories@github.com"},{"url":"https://github.com/chainguard-dev/melange/security/advisories/GHSA-7rp8-r62p-q6wc","label":"security-advisories@github.com"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-29049"},{"url":"https://github.com/chainguard-dev/melange"}],"tags":["nvd","osv","go"],"epss":0.00223,"epssPercentile":0.1318,"ingestedAt":"2026-07-07T14:53:19.314Z","aliases":["GHSA-7rp8-r62p-q6wc","GO-2026-4588"],"ecosystem":"go","patched":["chainguard.dev/melange 0.43.4"],"slug":"CVE-2026-29049","body":"## Overview\n\nmelange 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.\n\n## Affected\n\n- `melange <= 0.40.5`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-29049)\n\nAffected packages:\n\n- `chainguard.dev/melange < 0.43.4`\n\nPatched in:\n\n- `chainguard.dev/melange 0.43.4`\n\nSource: https://osv.dev/vulnerability/GHSA-7rp8-r62p-q6wc","depth":"sunlit","depthScore":24,"depthScoreParts":{"impact":23.7,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}