GHSA-98f2-w9h9-7fp9 · 深刻度: medium · エコシステム: go — melange has Path Traversal When Resolving External Pipelines via Unvalidated pipeline[].uses
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 `/`.
総合評価: CVE-2026-29050 は低リスク(25.8/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.14%、4 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.01% | 0.14% | +0.13% |
| 2 | 2026-04-24 | — | 0.01% | — |
EPSS の全履歴 (全 2 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 6.1 | 3.1 | MEDIUM |
|
1.8 | 4.2 | [email protected] |
GHSA-98f2-w9h9-7fp9 · 深刻度: medium · エコシステム: go — melange has Path Traversal When Resolving External Pipelines via Unvalidated pipeline[].uses
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| chainguard | melange | >= 0.32.0, < 0.43.4 | cpe:2.3:a:chainguard:melange:*:*:*:*:*:go:*:* |
| URL | タグ |
|---|---|
| https://github.com/chainguard-dev/melange/security/advisories/GHSA-98f2-w9h9-7fp9 | Mitigation Patch Vendor Advisory |