CVE-2026-24844
published 2026-02-04CVE-2026-24844: 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…
PriorityP349high8.8CVSS 3.1
AVLACLPRLUINSCCHIHAH
EPSS
0.18%
7.3th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| chainguard-dev | melange | — | — |
| chainguard.dev | melange | >= 0.3.0 < 0.40.3 | 0.40.3 |
| chainguard | melange | 0.3.0 – 0.40.5 | — |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
melange pipeline working-directory could allow command injection in chainguard.dev/melange
osv·2026-02-05
CVE-2026-24844 melange pipeline working-directory could allow command injection in chainguard.dev/melange
melange pipeline working-directory could allow command injection in chainguard.dev/melange
melange pipeline working-directory could allow command injection in chainguard.dev/melange
OSV
melange pipeline working-directory could allow command injection
osv·2026-02-03
CVE-2026-24844 [HIGH] melange pipeline working-directory could allow command injection
melange pipeline working-directory could allow command injection
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.
**Fix:** Fixed with [e51ca30c](https://github.com/chainguard-dev/melange/commit/e51ca30cfb63178f5a86997d23d3fff0359fa6c8), Released.
**Acknowledgements**
melange thanks Oleh Konko from [1seal](https://1seal.org/) for discovering and reporting this issue.
GHSA
melange pipeline working-directory could allow command injection
ghsa·2026-02-03
CVE-2026-24844 [HIGH] CWE-78 melange pipeline working-directory could allow command injection
melange pipeline working-directory could allow command injection
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.
**Fix:** Fixed with [e51ca30c](https://github.com/chainguard-dev/melange/commit/e51ca30cfb63178f5a86997d23d3fff0359fa6c8), Released.
**Acknowledgements**
melange thanks Oleh Konko from [1seal](https://1seal.org/) for discovering and reporting this issue.
No detection rules found.
No public exploits indexed.
2026-02-04
Published