CVE-2026-24844
melange allows users to build apk packages using declarative …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/chainguard-dev/melange/commit/e51ca30cfb63178f5a86997d23d3fff0359fa6c8
- github.com/chainguard-dev/melange/security/advisories/GHSA-vqqr-rmpc-hhg2
- nvd.nist.gov/vuln/detail/CVE-2026-24844
- github.com/advisories/GHSA-vqqr-rmpc-hhg2
- nvd.nist.gov/vuln/detail/CVE-2026-24844
- cve.org/CVERecord?id=CVE-2026-24844
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.