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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-125121— compose-lint: Text in a pull request can still issue CI workflow commands through compose-lint 0.31.0's output

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.31.0 中,compose-lint 仅在 ASCII 空格和制表符之后对 GitHub Actions 工作流命令的起始符进行转义;而 GitHub Actions 运行器在解析行内容前会剥离所有前导的 Unicode 空白字符。因此,若不受信任的 Compose 值或仓库路径以 Unicode 空白字符开头并随后出现 ,当该包、pre-commit 钩子或 Docker 镜像在 CI 环境中

CVSS 5.3 · Medium

Affected Version Matrix 1

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

I. Basic Information for CVE-2026-125121

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: Text in a pull request can still issue CI workflow commands through compose-lint 0.31.0's output
Source: 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.
Source: 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
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.31.0, < 0.32.0 -

II. Public POCs for CVE-2026-125121

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

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

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

Vendor Advisories for CVE-2026-125121 (2)

Vendor Pages for CVE-2026-125121 (1)

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

CVE-2026-125125 2.3 LOW compose-lint: A symlink in a pull request can issue workflow commands through the 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