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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-125123— compose-lint 0.31.0 远程命令执行漏洞

一分钟漏洞结论

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

compose-lint 是一款用于 Docker Compose 的安全检查工具,可在部署前识别危险配置错误。在 0.31.0 版本中,当用户传入的路径未以 分隔符开头时,compose-lint 的参数解析器会将被拒绝的仓库路径直接写入标准错误流(stderr),且未经过输出净化处理。攻击者可通过 Pull Request 提交包含 GitHub Actions 工作流命令语法的恶意路径;通过插入回车符(Carriage Return),可将该命令置于新行的起始位置,从而被 GitHub Actions 运行器

CVSS 2.3 · Low

影响版本矩阵 1

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

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

漏洞信息

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

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

Vulnerability Title
compose-lint: A file path in a pull request can issue CI workflow commands through compose-lint 0.31.0's command-line error messages
来源: 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's argument parser writes rejected repository paths to stderr without the output sanitizer when a path is passed without a preceding -- separator. A pull request can supply a path containing workflow-command syntax; a carriage return can position that command at the start of a new line recognized by the GitHub Actions runner, allowing the package, Docker image, or a pre-commit hook with misconfigured args to issue the command in the job log. The default pre-commit configuration includes -- and is not affected, the GitHub Action is not affected, and the lint pass or fail result is unchanged. This issue is fixed in version 0.32.0.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/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 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

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

CVE-2026-125123 厂商安全公告 (1)

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

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

CVE-2026-125121 5.3 MEDIUM compose-lint 0.31.0 工作流命令注入漏洞
CVE-2026-125125 2.3 LOW compose-lint 通过 SARIF 目录错误消息的远程命令执行漏洞
CVE-2026-125124 2.3 LOW compose-lint 0.31.0 远程代码执行漏洞
CVE-2026-125122 2.3 LOW compose-lint 0.31.0 远程代码执行漏洞

IV. Related Vulnerabilities