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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-125124— compose-lint: Text in a pull request can reach Azure Pipelines as logging 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 未在任何输出路径上对 Azure Pipelines 的 日志命令前缀进行中和处理。攻击者可通过拉取请求(Pull Request)将该前缀植入 Compose 的值或文件名中,从而使得该工具在生成包输出、执行 pre-commit 钩子或运行 Docker 镜像时,若其输出被打印到 Azure Pipelines 作业日志中,即可触发日志命令注入。维护

CVSS 2.3 · Low

Possible ATT&CK Techniques 1 AI

T1059.006 · Python

Affected Version Matrix 1

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

I. Basic Information for CVE-2026-125124

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 reach Azure Pipelines as logging 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 does not neutralize the Azure Pipelines ##vso[ logging-command opener on any output path. A pull request can place that opener in a Compose value or file name, allowing output from the package, pre-commit hook, or Docker image to issue logging commands when printed to an Azure Pipelines job log. The maintainer did not reproduce the behavior on an Azure Pipelines agent. The GitHub Action is not affected because it runs only on GitHub Actions, and releases before 0.31.0 are outside this advisory because they did not claim Azure Pipelines coverage. 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.31.0 -

II. Public POCs for CVE-2026-125124

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

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

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

Vendor Advisories for CVE-2026-125124 (1)

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