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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-125125— compose-lint 通过 SARIF 目录错误消息的远程命令执行漏洞

一分钟漏洞结论

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

compose-lint 是一款用于 Docker Compose 的安全检查工具,可在部署前识别危险配置。在版本 0.30.0 至 0.32.0 期间,compose-lint GitHub Action 在尝试创建 SARIF 文件的子目录失败时,会输出解析后的目录路径,且未对命令进行有效抑制。具体而言:版本 0.30.0 没有设置命令停止窗口;版本 0.31.0 则在该停止窗口之外输出了此错误信息。攻击者可通过拉取请求(Pull Request)在该路径上提交一个符号链接,该链接指向一个名称包含换行符及后续工

CVSS 2.3 · Low

影响版本矩阵 1

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

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

漏洞信息

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

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

Vulnerability Title
compose-lint: A symlink in a pull request can issue workflow commands through the compose-lint Action's SARIF-directory error message
来源: CVE Program / CVE List V5
Vulnerability Description
compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From version 0.30.0 until 0.32.0, the compose-lint GitHub Action prints the resolved directory from a failed sarif-file subdirectory creation without effective command suppression. Version 0.30.0 has no stop-commands window, while version 0.31.0 prints this error outside its stop-commands window. A pull request can place a committed symlink on that path to a directory whose name contains a newline followed by a workflow command, causing the SARIF-directory error to issue commands in the job log. Only the Action with sarif-file pointing into a subdirectory is affected; a workspace-root SARIF file, the compose-lint package, the pre-commit hook, and the Docker image do not expose this message. 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.30.0, < 0.32.0 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

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

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

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

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

CVE-2026-125121 5.3 MEDIUM compose-lint 0.31.0 工作流命令注入漏洞
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