{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-29050","published":"2026-04-24T00:16:27.303000Z","last_modified":"2026-10-26T22:10:00.163000Z","status":"Analyzed","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:chainguard:melange:*:*:*:*:*:go:*:*","part":"a","vendor":"chainguard","product":"melange","version_start_including":"0.32.0","version_end_excluding":"0.43.4"}],"cpes_truncated":false,"vendors":["chainguard"],"products":["chainguard/melange"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-98f2-w9h9-7fp9","ecosystem":"Go","name":"chainguard.dev/melange","purl":"pkg:golang/chainguard.dev/melange","ranges":[{"introduced":"0.32.0","fixed":"0.43.4"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2026-5279","ecosystem":"Go","name":"chainguard.dev/melange","purl":"pkg:golang/chainguard.dev/melange","ranges":[{"introduced":"0.32.0","fixed":"0.43.4"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":37,"links":{"html_es":"/es/cve/CVE-2026-29050/","html_en":"/en/cve/CVE-2026-29050/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-29050","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-29050"},"untrusted":{"vendor_name":"Chainguard","product_name":"Melange","desc_en":"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 `/`.","affected":[{"untrusted_vendor":"chainguard-dev","untrusted_product":"melange","versions":[]}],"references":[{"url":"https://github.com/chainguard-dev/melange/security/advisories/GHSA-98f2-w9h9-7fp9","tags":["Mitigation","Patch","Vendor Advisory"]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:21483-1","url":"https://www.suse.com/support/update/","published":"2026-07-30T09:09:47+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for govulncheck-vulndb"}}]}