CVE-2026-29050
melange allows users to build apk packages using declarative pipelines.
Published Apr 24, 2026 · updated Jun 17, 2026 · chainguard melange
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 to a value containing sequences or an absolute path. The function in passed directly to without validating the value, so the resolved path could escape each 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 block is executed via 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 values that are absolute paths or contain , and verifies (via after ) that the resolved target remains within the pipeline directory. As a workaround, only run against configuration files from trusted sources. In CI systems that build user-supplied melange configs, gate builds behind manual review of values and reject any containing or leading .
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Apr 24, 2026 · NIST NVD
Detected
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 to a value containing sequences or an absolute path. The function in passed directly to without validating the value, so the
Jun 17, 2026 · NIST NVD
Updated
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 to a value containing sequences or an absolute path. The function in passed directly to without validating the value, so the
Affected
- cpe chainguard/melangeversion unspecified
Sources
- CVE.orgVulnerability recordCVE-2026-29050
Official CVE identifier
cve.org - NIST NVDVulnerability recordCVE-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 melange configuration file — for example through pull-request-driven CI or build-as-a-service scenarios — could set `pip
nvd.nist.gov