CVE Explorer
CVE-2026-25143
melange allows users to build apk packages using declarative pipelines. From version 0.10.0 to before 0.40.3, an attacker who can influence inputs to the patch pipeline could execute arbitrary shell commands on the build host. The patch pipeline in pkg/build/pipelines/patch.yaml embeds input-derived values (series paths, patch filenames, and numeric parameters) into shell scripts without proper quoting or validation, allowing shell metacharacters to break out of their intended context. The vulne
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"melange","vendor":"chainguard-dev","versions":[{"status":"affected","version":">= 0.10.0, < 0.40.3"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:0c91c09f0aeec0fc2085ffed41e886c6cc5d637b15adcd41c3d30d61fcf8c13a · sha256:8aef1a1d6d72075f… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:0c91c09f0aeec0fc2085ffed41e886c6cc5d637b15adcd41c3d30d61fcf8c13a · sha256:8aef1a1d6d72075f… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:0c91c09f0aeec0fc2085ffed41e886c6cc5d637b15adcd41c3d30d61fcf8c13a · sha256:8aef1a1d6d72075f… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/chainguard-dev/melange/commit/bd132535cd9f57d4bd39d9ead0633598941af030","tags":["x_refsource_MISC"],"url":"https://github.com/chainguard-dev/melange/commit/bd132535cd9f57d4bd39d9ead0633598941af030"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0c91c09f0aeec0fc2085ffed41e886c6cc5d637b15adcd41c3d30d61fcf8c13a · sha256:8aef1a1d6d72075f… · /containers/cna/references/1
{"name":"https://github.com/chainguard-dev/melange/security/advisories/GHSA-rf4g-89h5-crcr","tags":["x_refsource_CONFIRM"],"url":"https://github.com/chainguard-dev/melange/security/advisories/GHSA-rf4g-89h5-crcr"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0c91c09f0aeec0fc2085ffed41e886c6cc5d637b15adcd41c3d30d61fcf8c13a · sha256:8aef1a1d6d72075f… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.