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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-125125— compose-lint: A symlink in a pull request can issue workflow commands through the compose-lint Action's SARIF-directory error message

Quick assessment

Affected
tmatens compose-lint
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.

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

Affected Version Matrix 1

VendorProduct Version RangeStatus
tmatens compose-lint >= 0.30.0, < 0.32.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-125125

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
compose-lint: A symlink in a pull request can issue workflow commands through the compose-lint Action's SARIF-directory error message
Source: 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.
Source: 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
Source: CVE Program / CVE List V5
Vulnerability Type
日志输出的转义处理不恰当
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
tmatens compose-lint >= 0.30.0, < 0.32.0 -

II. Public POCs for CVE-2026-125125

# 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-125125

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

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

Vendor Advisories for CVE-2026-125125 (1)

Vendor Pages for CVE-2026-125125 (1)

Same Patch Batch · tmatens · 2026-11-10 · 5 CVEs total

CVE-2026-125121 5.3 MEDIUM compose-lint: Text in a pull request can still issue CI workflow commands through compose-
CVE-2026-125124 2.3 LOW compose-lint: Text in a pull request can reach Azure Pipelines as logging commands through
CVE-2026-125123 2.3 LOW compose-lint: A file path in a pull request can issue CI workflow commands through compose
CVE-2026-125122 2.3 LOW compose-lint: Text in a pull request can issue CI workflow commands through compose-lint 0

IV. Related Vulnerabilities