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

Published Mar 2, 2026
·
Updated

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

melange thanks Oleh Konko from 1seal for discovering and reporting this issue.

Other sources

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.

— MITRE

Affected Software

2 affected components
go/chainguard.dev/melange<=0.40.5
chainguard Melange Go<=0.40.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade melange to a version that resolves this vulnerability.

    Fixed in 0.43.4

Event History

Mar 2, 2026
Advisory Published
via GitHub·10:04 PM
Data Sourced
via GitHub·10:04 PM
DescriptionSeverityWeaknessAffected Software
Mar 6, 2026
CVE Published
via MITRE·07:03 AM
Data Sourced
via MITRE·07:03 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 AM
DescriptionSeverityWeaknessAffected Software
May 22, 58164
Event
via FIRST·01:37 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-29049?

CVE-2026-29049 has been classified with a severity level that reflects potential risks associated with unbounded HTTP downloads causing disk exhaustion.

2

How do I fix CVE-2026-29049?

To fix CVE-2026-29049, ensure to update to versions of Melange beyond 0.40.5 that implement proper limits on HTTP download sizes.

3

Which versions are affected by CVE-2026-29049?

CVE-2026-29049 affects all versions of Melange up to and including 0.40.5.

4

What can attackers do with CVE-2026-29049?

Attackers can exploit CVE-2026-29049 to create unbounded downloads leading to depletion of disk space on the host.

5

Is there a workaround for CVE-2026-29049?

A temporary workaround for CVE-2026-29049 includes implementing monitoring on disk usage and reviewing build configurations for untrusted URIs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203