{"id":"CVE-2026-29049","aliases":["CVE-2026-29049","GHSA-7rp8-r62p-q6wc","GO-2026-4588"],"related":["CGA-97jr-54h6-qwpw"],"kind":"vulnerability","state":"published","title":"melange: unbounded HTTP download in `melange update-cache` can exhaust disk in CI","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/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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"`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 runner. Affected versions <= 0.40.5.\n\n**Fix:** Merged\n**Acknowledgements**\n\nThank you to Oleh Konko from [1seal](https://1seal.org/) for discovering and reporting this issue.","format":"markdown","source":"ghsa"},{"lang":"en","text":"`melange update-cache` has unbounded HTTP download that can exhaust disk in CI in chainguard.dev/melange","format":"markdown","source":"go"},{"lang":"es","text":"melange permite a los usuarios construir paquetes apk utilizando pipelines declarativos. En la versión 0.40.5 y anteriores, melange update-cache descarga URIs de configuraciones de compilación a través de io.Copy sin ningún límite de tamaño o tiempo de espera del cliente HTTP (pkg/renovate/cache/cache.go). Una URI controlada por un atacante en una configuración de melange puede causar escrituras de disco ilimitadas, agotando el disco en el ejecutor de compilación. No hay ningún parche conocido disponible públicamente.","source":"nvd"}],"published":"2026-03-02T22:04:23.000Z","modified":"2026-09-10T03:50:38.011Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-400","CWE-918"],"affected":[{"ranges":[{"version":"< 0.43.4","status":"affected"}],"vendor":"chainguard-dev","product":"melange","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.43.4"}],"ecosystem":"Go","package":"chainguard.dev/melange","purl":"pkg:golang/chainguard.dev/melange","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"chainguard.dev/melange","purl":"pkg:golang/chainguard.dev/melange","source":"go"},{"ranges":[{"status":"affected","lastAffected":"0.40.5"}],"vendor":"chainguard","product":"melange","cpe":"cpe:2.3:a:chainguard:melange:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/chainguard-dev/melange/security/advisories/GHSA-7rp8-r62p-q6wc","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/chainguard-dev/melange/pull/2379","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/chainguard-dev/melange/commit/652ca5af08588f78e2d405e64b058fac8398d23f","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/chainguard-dev/melange/releases/tag/v0.43.4","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-29049","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/chainguard-dev/melange","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-09T20:00:02.881Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-29049","url":"https://www.cve.org/CVERecord?id=CVE-2026-29049","licence":"CVE Terms of Use","modified":"2026-07-07T13:10:28.323Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7rp8-r62p-q6wc","url":"https://github.com/advisories/GHSA-7rp8-r62p-q6wc","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:38.011Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4588","url":"https://pkg.go.dev/vuln/GO-2026-4588","licence":"CC-BY-4.0","modified":"2026-06-26T19:59:21.025Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-29049","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-29049","licence":"Public domain","modified":"2026-07-07T14:16:29.857Z"}],"updatedAt":"2026-11-25T22:59:15.394Z","epss":{"score":0.00269,"percentile":0.20343,"date":"2026-12-01T12:00:22.000Z"}}