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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-125122— compose-lint 0.31.0 远程代码执行漏洞

一分钟漏洞结论

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

compose-lint 是一款用于 Docker Compose 的安全检查工具,旨在部署前识别危险配置问题。在 0.31.0 版本中,当通过 或 选项将结果输出到标准输出(stdout)时,compose-lint 未对字符串中包含的 操作符进行清理。攻击者可通过拉取请求(Pull Request)将该操作符嵌入服务名称或其他 Compose 配置值中;当该工具以包、pre-commit 钩子或 Docker 镜像的形式运行时,若其向作业日志输出 JSON 或 SARIF 格式内容,GitHub Actions

CVSS 2.3 · Low

影响版本矩阵 1

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

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

漏洞信息

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

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

Vulnerability Title
compose-lint: Text in a pull request can issue CI workflow commands through compose-lint 0.31.0's JSON and SARIF output on stdout
来源: 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 does not sanitize the ##[ workflow-command opener inside strings written by --format json or --format sarif to stdout. A pull request can place that opener in a service name or other Compose value, and the GitHub Actions runner recognizes it even in the middle of a serialized line when the package, pre-commit hook, or Docker image prints JSON or SARIF to the job log. Writing the output to a file and using the compose-lint GitHub Action are not affected, 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: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-125122 的公开POC

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

未找到公开 POC。

登录以生成 AI POC

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

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

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

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

CVE-2026-125122 厂商页面 (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-125123 2.3 LOW compose-lint 0.31.0 远程命令执行漏洞

IV. Related Vulnerabilities