Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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