Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
chainguard-dev melange
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

melange是Chainguard开源的一个从源代码构建APK的软件。 melange 0.40.3之前版本存在操作系统命令注入漏洞,该漏洞源于工作目录字段中的变量替换未正确转义,可能导致任意命令执行。

CVSS 7.8 · High EPSS 0.20% · P9

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-24844

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
melange pipeline working-directory could allow command injection
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
melange 操作系统命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
melange是Chainguard开源的一个从源代码构建APK的软件。 melange 0.40.3之前版本存在操作系统命令注入漏洞,该漏洞源于工作目录字段中的变量替换未正确转义,可能导致任意命令执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
chainguard-dev melange >= 0.3.0, < 0.40.3 -

II. Public POCs for CVE-2026-24844

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-24844

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-24844 (1)

Same Patch Batch · chainguard-dev · 2026-02-04 · 7 CVEs total

CVE-2026-24843 8.2 HIGH melange QEMU runner could write files outside workspace directory
CVE-2026-25143 7.8 HIGH melange affected by potential host command execution via license-check YAML mode patch pip
CVE-2026-25121 7.5 HIGH apko is vulnerable to path traversal in apko dirFS which allows filesystem writes outside
CVE-2026-25140 7.5 HIGH apko affected by potential unbounded resource consumption in expandapk.ExpandApk on attack
CVE-2026-25122 5.5 MEDIUM apko is vulnerable to unbounded resource consumption in expandapk.Split on attacker-contro
CVE-2026-25145 5.5 MEDIUM melange has a path traversal in license-path which allows reading files outside workspace

IV. Related Vulnerabilities

V. Comments for CVE-2026-24844

No comments yet


Leave a comment