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.
{
"cwe_ids": [
"CWE-400",
"CWE-918"
],
"github_reviewed": true,
"github_reviewed_at": "2026-03-02T22:04:23Z",
"nvd_published_at": "2026-03-06T07:16:02Z",
"severity": "MODERATE"
}