目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-125121— compose-lint 0.31.0 工作流命令注入漏洞

一分钟漏洞结论

影响对象
tmatens compose-lint
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

compose-lint 是一款用于 Docker Compose 的安全检查工具,可在部署前识别危险配置。在版本 0.31.0 中,compose-lint 仅在 ASCII 空格和制表符之后对 GitHub Actions 工作流命令的起始符进行转义;而 GitHub Actions 运行器在解析行内容前会剥离所有前导的 Unicode 空白字符。因此,若不受信任的 Compose 值或仓库路径以 Unicode 空白字符开头并随后出现 ,当该包、pre-commit 钩子或 Docker 镜像在 CI 环境中

CVSS 5.3 · Medium

影响版本矩阵 1

厂商产品 版本范围状态
tmatens compose-lint >= 0.31.0, < 0.32.0 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-125121 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
compose-lint: Text in a pull request can still issue CI workflow commands through compose-lint 0.31.0's output
来源: CVE Program / CVE List V5
Vulnerability Description
compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. In version 0.31.0, compose-lint escapes GitHub Actions workflow-command openers only after ASCII spaces and tabs, while the runner strips all leading Unicode whitespace before interpreting a line. Untrusted Compose values or repository paths beginning with Unicode whitespace followed by :: can therefore reach the text report, fix guidance, the fix dry-run diff, and stderr diagnostics as workflow commands when the package, pre-commit hook, or Docker image runs directly in CI. The GitHub Action is not affected because it disables command processing, and the flaw does not change the lint pass or fail result. This issue is fixed in version 0.32.0.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
日志输出的转义处理不恰当
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
tmatens compose-lint >= 0.31.0, < 0.32.0 -

二、漏洞 CVE-2026-125121 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-125121 的情报信息

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

CVE-2026-125121 补丁与修复 (1)

CVE-2026-125121 厂商安全公告 (2)

CVE-2026-125121 厂商页面 (1)

同批安全公告 · tmatens · 2026-11-10 · 共 5 条

CVE-2026-125125 2.3 LOW compose-lint 通过 SARIF 目录错误消息的远程命令执行漏洞
CVE-2026-125124 2.3 LOW compose-lint 0.31.0 远程代码执行漏洞
CVE-2026-125123 2.3 LOW compose-lint 0.31.0 远程命令执行漏洞
CVE-2026-125122 2.3 LOW compose-lint 0.31.0 远程代码执行漏洞

IV. Related Vulnerabilities