CVE-2026-24844 melange pipeline working-directory could allow command injection
HighCVSS 8.8
EPSS 0.20%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Chainguard melange | >= 0.3.0, <= 0.40.5 | after 0.40.5 | Fixed |
| chainguard.dev/melange(Go) | >= 0.3.0, < 0.40.3 | 0.40.3 | Fixed |
| chainguard-dev melange | = >= 0.3.0, < 0.40.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| chainguard-dev melange | = >= 0.3.0, < 0.40.3 | No fix listed |
| chainguard.dev/melange(Go) | >= 0.3.0, < 0.40.3 | 0.40.3 |
| Chainguard melange | >= 0.3.0, <= 0.40.5 | No fix listed |
References
- https://github.com/chainguard-dev/melange/security/advisories/GHSA-vqqr-rmpc-hhg2 patch vendor-advisory
- https://github.com/chainguard-dev/melange/commit/e51ca30cfb63178f5a86997d23d3fff0359fa6c8 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com