CVE-2026-29050Disclosure(chainguard / melange)

LOWCVSS 6.1 · MEDIUM

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Track advisory updates for patch or workaround availability

Recommended action window: Monitor and triage in normal cycle

NVD description

melange allows users to build apk packages using declarative pipelines. Starting in version 0.32.0 and prior to version 0.43.4, an attacker who can influence a melange configuration file — for example through pull-request-driven CI or build-as-a-service scenarios — could set `pipeline[].uses` to a value containing `../` sequences or an absolute path. The `(*Compiled).compilePipeline` function in `pkg/build/compile.go` passed `uses` directly to `filepath.Join(pipelineDir, uses + ".yaml")` without validating the value, so the resolved path could escape each `--pipeline-dir` and read an arbitrary YAML-parseable file visible to the melange process. Because the loaded file is subsequently interpreted as a melange pipeline and its `runs:` block is executed via `/bin/sh -c` in the build sandbox, this additionally allowed shell commands sourced from an out-of-tree file to run during the build, bypassing the review boundary that normally covers the in-tree pipeline definition. The issue is fixed in melange v0.43.4 via commit 5829ca4. The fix rejects `uses` values that are absolute paths or contain `..`, and verifies (via `filepath.Rel` after `filepath.Clean`) that the resolved target remains within the pipeline directory. As a workaround, only run `melange build` against configuration files from trusted sources. In CI systems that build user-supplied melange configs, gate builds behind manual review of `pipeline[].uses` values and reject any containing `..` or leading `/`.

0.0/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-22

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

AVAILABLE

Momentum

STABLE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • melange

Threat summary

  • 2 mentions across 2 observed days
  • Momentum state: stable

What's happening

  • Technical details provided in 2 signals
  • Disclosure: 2 classified signals
  • Peaked 1d ago at 1 mentions (2026-04-25); latest day: 1
  • 2 total mentions across 2 days

Affected systems

Vendors
Products
melange

Deep dive

Activity timeline2 mentions / 2d
00111Mentions · 2026-04-25: 1Mentions · 2026-04-28: 1Technical Details · 2026-04-25: 1Technical Details · 2026-04-28: 104-2504-28
Signal classification1 categories
Disclosure
2100.0%
Referenced assets2 URLs
Full discourse2 posts
  • cvereports@_cvereports
    Disclosure

    CVE-2026-29050: CVE-2026-29050: Path Traversal to Command Execution in Chainguard Melange Melange versions 0.32.0 through 0.43.3 contain a path traversal vulnerability in the pipeline compilation mechanism. By supplying directory traversal sequences i... https://cvereports.com/reports/CVE-2026-29050

    Post summary

    The text discloses a path traversal flaw in Chainguard Melange (v0.32.0‑0.43.3) that can lead to command execution, providing technical details but no PoC, exploit code, or patch information.

    0000032
    36 followersView on X
  • CVE@CVEnew
    Disclosure

    CVE-2026-29050 melange allows users to build apk packages using declarative pipelines. Starting in version 0.32.0 and prior to version 0.43.4, an attacker who can influence a melang… https://www.cve.org/CVERecord?id=CVE-2026-29050

    Post summary

    The text announces CVE-2026-29050 affecting melange versions 0.32.0‑0.43.4, permitting attackers who can influence declarative pipelines to build malicious APKs; no PoC, exploit tool, active exploitation, or patch information is provided.

    0000066
    57.2K followersView on X
CPE platform detail1 entries

1 of 1 entries

PartVendorProductVersionTarget SWTarget HW
Appchainguardmelange-go-

Explore more