High severityNVD Advisory· Published Feb 4, 2026· Updated Feb 5, 2026
melange pipeline working-directory could allow command injection
CVE-2026-24844
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
chainguard.dev/melangeGo | >= 0.3.0, < 0.40.3 | 0.40.3 |
Affected products
6- osv-coords5 versionspkg:apk/chainguard/cgpkg:apk/chainguard/wolfictlpkg:apk/wolfi/wolfictlpkg:golang/chainguard.dev/melangepkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6
< 0.2.201-r0+ 4 more
- (no CPE)range: < 0.2.201-r0
- (no CPE)range: < 0.39.0-r1
- (no CPE)range: < 0.39.0-r1
- (no CPE)range: >= 0.3.0, < 0.40.3
- (no CPE)range: < 0.0.20260205T172317-150000.1.146.1
- Range: >= 0.3.0, < 0.40.3
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-vqqr-rmpc-hhg2ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-24844ghsaADVISORY
- github.com/chainguard-dev/melange/commit/e51ca30cfb63178f5a86997d23d3fff0359fa6c8ghsax_refsource_MISCWEB
- github.com/chainguard-dev/melange/security/advisories/GHSA-vqqr-rmpc-hhg2ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.