NetSight
high7.9

CVE-2026-24844

melange pipeline working-directory could allow command injection

Impact

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](https://github.com/chainguard-dev/melange/commit/e51ca30cfb63178f5a86997d23d3fff0359fa6c8), Released. **Acknowledgements** melange thanks Oleh Konko from [1seal](https://1seal.org/) for discovering and reporting this issue.

Affected packages

EcosystemPackageAffectedFixed in
gochainguard.dev/melange>= 0.3.0, < 0.40.30.40.3

Affected products

VendorProductAffected versions
ChainguardMelange
from 0.3.0 through 0.40.5

Weakness classification

References