CVE-2026-25143
published 2026-02-04CVE-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…
PriorityP346high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.18%
7.2th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| chainguard-dev | melange | — | — |
| chainguard.dev | melange | >= 0.10.0 < 0.40.3 | 0.40.3 |
| chainguard | melange | >= 0.10.0 < 0.40.5 | 0.40.5 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
melange affected by potential host command execution via license-check YAML mode patch pipeline in chainguard.dev/melange
osv·2026-02-05
CVE-2026-25143 melange affected by potential host command execution via license-check YAML mode patch pipeline in chainguard.dev/melange
melange affected by potential host command execution via license-check YAML mode patch pipeline in chainguard.dev/melange
melange affected by potential host command execution via license-check YAML mode patch pipeline in chainguard.dev/melange
GHSA
melange affected by potential host command execution via license-check YAML mode patch pipeline
ghsa·2026-02-04
CVE-2026-25143 [HIGH] CWE-78 melange affected by potential host command execution via license-check YAML mode patch pipeline
melange affected by potential host command execution via license-check YAML mode patch pipeline
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
OSV
melange affected by potential host command execution via license-check YAML mode patch pipeline
osv·2026-02-04
CVE-2026-25143 [HIGH] melange affected by potential host command execution via license-check YAML mode patch pipeline
melange affected by potential host command execution via license-check YAML mode patch pipeline
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
No detection rules found.
No public exploits indexed.
2026-02-04
Published