CVE-2026-29049: Chainguard melange resource exhaustion in update-cache

CVE-2026-29049 · Severity: medium · CVSS 4.3 · Published 2026-03-06

Melange, a tool used to build software packages, contains a flaw in how it handles file downloads during the build process. An attacker who can influence a build configuration file can force the system to download massive amounts of data without limits. This can lead to the build server running out of disk space, causing build failures and disrupting software delivery pipelines.

Technologies: Chainguard Melange, chainguard.dev/melange (Go). Vendors: Chainguard, Go.

Quick answers

Is CVE-2026-29049 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-29049 being exploited in the wild.
How severe is CVE-2026-29049?
Medium severity, with a CVSS score of 4.3, published 6 March 2026.
Which products and versions are affected?
Chainguard Melange < 0.43.4; chainguard.dev/melange (Go) < 0.43.4, SEMVER:introduced=0, SEMVER:introduced=0,fixed=0.43.4.
Is there a fix for CVE-2026-29049?
Yes. chainguard.dev/melange (Go): upgrade to 0.43.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-29049 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-29049?
Check whether you run Chainguard Melange or chainguard.dev/melange (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • chainguard.dev/melange (Go): upgrade to 0.43.4 or later
    go get chainguard.dev/melange@v0.43.4

Technical details

The melange 'update-cache' command fails to implement size limits or HTTP timeouts when downloading URIs defined in build configurations. Specifically, in 'pkg/renovate/cache/cache.go', the application uses 'io.Copy' to fetch remote resources without validation. An attacker-controlled URI in a melange configuration can trigger unbounded disk writes, leading to a Denial of Service (DoS) by exhausting the disk space of the build runner. This vulnerability also exhibits Server-Side Request Forgery (SSRF) characteristics as the runner fetches arbitrary attacker-supplied URLs. The issue is addressed in version 0.43.4.

Affected products

  • chainguard-dev melange < 0.43.4

Identifiers

  • CVE-2026-29049
  • GHSA-7rp8-r62p-q6wc
  • GO-2026-4588

Timeline

  • 2026-03-02: advisory: GitHub Security Advisory GHSA-7rp8-r62p-q6wc published
  • 2026-03-06: disclosed: CVE-2026-29049 published to NVD
  • 2026-02-28: patched: Version 0.43.4 released with fix

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.