Security mailing lists by PureSourceCode

CVE-2026-24844

HIGH 8.8CVSS 3.1

melange pipeline working-directory could allow command injection

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.

Published
4 Feb 2026
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-78
Also known as
GHSA-vqqr-rmpc-hhg2GO-2026-4408
Sources
NVDJSONOSV GHSA-vqqr-rmpc-hhg2JSONOSV GO-2026-4408JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.9 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.9 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD chainguard melange
cpe:2.3:a:chainguard:melange:*:*:*:*:*:go:*:*
>= 0.3.0, <= 0.40.5
OSV Go chainguard.dev/melange >= 0.3.0, < 0.40.3 0.40.3

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 4 Feb 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Feb 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Feb 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.