Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. chainguard.dev/melange
  4. ›
  5. CVE-2026-24844

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

February 3, 2026 (updated February 4, 2026)

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.

References

  • github.com/advisories/GHSA-vqqr-rmpc-hhg2
  • github.com/chainguard-dev/melange
  • 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

Code Behaviors & Features

Detect and mitigate CVE-2026-24844 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.3.0 before 0.40.3

Fixed versions

  • 0.40.3

Solution

Upgrade to version 0.40.3 or above.

Impact 7.9 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

go/chainguard.dev/melange/CVE-2026-24844.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 18 Feb 2026 00:18:23 +0000.