CVE-2026-24844: melange pipeline working-directory could allow command injection

Published Feb 3, 2026
·
Updated

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.

Other sources

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.

— MITRE

Affected Software

2 affected componentsFixes available
go/chainguard.dev/melange>=0.3.0<0.40.3
0.40.3
chainguard Melange Go>=0.3.0<=0.40.5

Event History

Feb 3, 2026
Advisory Published
via GitHub·11:48 PM
Data Sourced
via GitHub·11:48 PM
DescriptionSeverityWeaknessAffected Software
Feb 4, 2026
CVE Published
via MITRE·07:31 PM
Data Sourced
via MITRE·07:31 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
RemedyAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-24844?

CVE-2026-24844 is rated as a critical vulnerability due to the potential for arbitrary command execution.

2

How do I fix CVE-2026-24844?

To fix CVE-2026-24844, update to the latest version of the melange package, ideally version 0.40.4 or later.

3

Who is affected by CVE-2026-24844?

Any user or organization utilizing versions of the melange pipeline from 0.3.0 to 0.40.3 is affected by CVE-2026-24844.

4

What types of attacks can be executed through CVE-2026-24844?

CVE-2026-24844 allows attackers to execute arbitrary shell commands through manipulating input values.

5

Is CVE-2026-24844 related to specific programming languages or platforms?

CVE-2026-24844 specifically impacts applications written in Go that utilize the chainguard.dev/melange package.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203