CVE-2026-24844
HIGH 8.8CVSS 3.1melange pipeline working-directory could allow command injection
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.
- Published
- 4 Feb 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-78
- Also known as
- GHSA-vqqr-rmpc-hhg2GO-2026-4408
- Sources
- NVDJSONOSV GHSA-vqqr-rmpc-hhg2JSONOSV GO-2026-4408JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.9 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.9 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | chainguard | melangecpe:2.3:a:chainguard:melange:*:*:*:*:*:go:*:* |
>= 0.3.0, <= 0.40.5 | |
| OSV | Go | chainguard.dev/melange | >= 0.3.0, < 0.40.3 | 0.40.3 |
References
- https://github.com/chainguard-dev/melange/commit/e51ca30cfb63178f5a86997d23d3fff0359fa6c8 · Patch, WEB
- https://github.com/chainguard-dev/melange/security/advisories/GHSA-vqqr-rmpc-hhg2 · Patch, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-24844 · ADVISORY
- https://github.com/chainguard-dev/melange · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 4 Feb 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Feb 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Feb 2026)