Skip to main content
← All vulnerabilities
CVE-2026-24844GHSA-VQQR-RMPC-HHG2GO-2026-4408

melange pipeline working-directory could allow command injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.40.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • chainguard-dev melange

    From 0.3.0 · fixed in 0.40.3

  • chainguard.dev/melangeGo

    From 0.3.0 · fixed in 0.40.3

References 2

GitHub · chainguard-dev/melange