High severity7.9NVD Advisory· Published Feb 4, 2026· Updated Jun 17, 2026
CVE-2026-24844
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
8- ghsa-coords6 versionspkg:golang/chainguard.dev/melangepkg:apk/chainguard/cgpkg:apk/chainguard/wolfictlpkg:apk/wolfi/wolfictlpkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2016.0
>= 0.3.0, < 0.40.3+ 5 more
- (no CPE)range: >= 0.3.0, < 0.40.3
- (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.0.20260205T172317-150000.1.146.1
- (no CPE)range: < 0.0.20260723T184607-160000.1.1
>= 0.3.0, < 0.40.3+ 1 more
- (no CPE)range: >= 0.3.0, < 0.40.3
- cpe:2.3:a:chainguard:melange:*:*:*:*:*:go:*:*range: >=0.3.0,<=0.40.5
Patches
Vulnerability mechanics
References
4- github.com/chainguard-dev/melange/commit/e51ca30cfb63178f5a86997d23d3fff0359fa6c8nvdPatchWEB
- github.com/chainguard-dev/melange/security/advisories/GHSA-vqqr-rmpc-hhg2nvdPatchVendor AdvisoryWEB
- github.com/advisories/GHSA-vqqr-rmpc-hhg2ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-24844ghsaADVISORY
News mentions
0No linked articles in our index yet.