Advisory

GHSA-vqqr-rmpc-hhg2

Also known as: CVE-2026-24844, GO-2026-4408

Summary

melange pipeline working-directory could allow command injection

Details

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.

Fix: Fixed with e51ca30c, Released.

Acknowledgements

melange thanks Oleh Konko from 1seal for discovering and reporting this issue.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-02-03 23:48 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

chainguard.dev/melange

Go · All systems

Affected

  • introduced 0.3.0, fixed 0.40.3 (semver)

Fixed versions

0.40.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences