{"id":"GHSA-vqqr-rmpc-hhg2","revision":"4e9aa1c032bd4a6c94917ac6a2d4f948","records":[{"revision":"4e9aa1c032bd4a6c94917ac6a2d4f948","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-vqqr-rmpc-hhg2","aliases":["CVE-2026-24844","GO-2026-4408"],"title":"melange pipeline working-directory could allow command injection","description":"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.\n\n**Fix:** Fixed with [e51ca30c](https://github.com/chainguard-dev/melange/commit/e51ca30cfb63178f5a86997d23d3fff0359fa6c8), Released. \n\n**Acknowledgements**\n\nmelange thanks Oleh Konko from [1seal](https://1seal.org/) for discovering and reporting this issue.","state":0,"publishedAt":"2026-02-03T23:48:25+00:00","modifiedAt":"2026-09-10T03:50:35.8701457+00:00","affected":[{"ecosystem":"Go","name":"chainguard.dev/melange","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.3.0"},{"kind":"fixed","version":"0.40.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/chainguard-dev/melange/security/advisories/GHSA-vqqr-rmpc-hhg2","https://nvd.nist.gov/vuln/detail/CVE-2026-24844","https://github.com/chainguard-dev/melange/commit/e51ca30cfb63178f5a86997d23d3fff0359fa6c8","https://github.com/chainguard-dev/melange"],"sourceUrl":"https://github.com/advisories/GHSA-vqqr-rmpc-hhg2","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-vqqr-rmpc-hhg2","identifiers":["GHSA-vqqr-rmpc-hhg2","CVE-2026-24844","GO-2026-4408"]},"retained":false,"historicalAffected":[]}],"coverage":[]}