High severity · published Feb 4, 2026
CVE-2026-24844
melange pipeline working-directory could allow command injection
8.8
CVSS
0.2%
EPSS
No
On KEV
Description
melange allows users to build apk packages using declarative pipelines. From version 0.3.0 to before 0.40.3, an attacker who can provide build input values, but not modify pipeline definitions, could execute arbitrary shell commands if the pipeline uses ${{vars.*}} or ${{inputs.*}} substitutions in working-directory. The field is embedded into shell scripts without proper quote escaping. This issue has been patched in version 0.40.3.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 10% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
ME
melange · chainguard-dev
>= 0.3.0, < 0.40.3 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-24844
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-24844
Patch
https://github.com/chainguard-dev/melange/commit/e51ca30cfb63178f5a86997d23d3fff0359fa6c8
Patch
https://github.com/chainguard-dev/melange/security/advisories/GHSA-vqqr-rmpc-hhg2
More from melange
8.4
CVE-2026-24843
melange QEMU runner could write files outside workspace directory
8.3
CVE-2026-54174
melange: Incomplete package integrity verification allows data section substitution
7.8
CVE-2026-25143
melange affected by potential host command execution via license-check YAML mode patch pipeline
6.1
CVE-2026-29050
melange has Path Traversal When Resolving External Pipelines via Unvalidated pipeline[].uses
5.5
CVE-2026-25145
melange has a path traversal in license-path which allows reading files outside workspace
