Skip to content

CVE-2026-29049 melange: unbounded HTTP download in `melange update-cache` can exhaust disk in CI

MediumCVSS 4.3 EPSS 0.26%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 1 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
chainguard.dev/melange(Go) < 0.43.4; All versions 0.43.4 Partially fixed
Chainguard melange <= 0.40.5 after 0.40.5 Fixed
chainguard-dev melange = < 0.43.4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
chainguard.dev/melange(Go) < 0.43.4 0.43.4
chainguard.dev/melange(Go) All versions No fix listed
chainguard-dev melange = < 0.43.4 No fix listed
Chainguard melange <= 0.40.5 No fix listed

References