chainguard-dev/melange · Security

`melange update-cache` has unbounded HTTP download that can exhaust disk in CI

GHSA ID
GHSA-7rp8-r62p-q6wc
CVE ID
CVE-2026-29049
Severity
medium
Published
Updated
CVSS
4.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
CVSS v3
4.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Description

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.

Fix: Merged Acknowledgements

Thank you to Oleh Konko from 1seal for discovering and reporting this issue.

CWEs

References