ADVISORIES

Vulnerability

CVE-2026-25143

melange allows users to build apk packages using declarative pipelines. From version 0.10.0 to before 0.40.3, an attacker who can influence inputs to the patch pipeline could execute arbitrary shell commands on the build host. The patch pipeline in pkg/build/pipelines/patch.yaml embeds input-derived values (series paths, patch filenames, and numeric parameters) into shell scripts without proper quoting or validation, allowing shell metacharacters to break out of their intended context. The vulnerability affects the built-in patch pipeline which can be invoked through melange build and melange license-check operations. An attacker who can control patch-related inputs (e.g., through pull request-driven CI, build-as-a-service, or by influencing melange configurations) can inject shell metacharacters such as backticks, command substitutions $(…), semicolons, pipes, or redirections to execute arbitrary commands with the privileges of the melange build process. This issue has been patched in version 0.40.3.

8 advisories report this vulnerability, across 4 ecosystems.

Advisories

  • CGA-3qh9-gw62-m9c8
    CVE-2026-25143 Chainguard Updated 5 November 2026
  • CGA-85xc-qww9-jqr9
    CVE-2026-25143 ChainguardWolfi Updated 5 November 2026
  • CGA-86wj-4vjh-4qh9
    CVE-2026-25143 ChainguardWolfi Updated 5 November 2026
  • CGA-p27p-rhgm-7wv3
    CVE-2026-25143 Chainguard Updated 5 November 2026
  • GHSA-rf4g-89h5-crcr

    melange affected by potential host command execution via license-check YAML mode patch pipeline

    High CVE-2026-25143 Go Updated 10 September 2026
  • GO-2026-4412

    melange affected by potential host command execution via license-check YAML mode patch pipeline in chainguard.dev/melange

    CVE-2026-25143 Go Updated 5 February 2026
  • SUSE-SU-2026:0403-1

    Security update for govulncheck-vulndb

    CVE-2023-43630CVE-2023-43631CVE-2023-43632CVE-2023-43633 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:21483-1

    Security update for govulncheck-vulndb

    Known exploited CVE-2016-11063CVE-2016-11066CVE-2016-11067CVE-2016-11068 openSUSE Updated 31 July 2026

References