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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-123372— compose-lint: A pull request can make compose-lint quote a secret from a CI-generated `.env` into its findings

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 的安全检查工具,可在部署前识别危险配置。在 GitHub Action 0.2.0 至 0.32.0 版本,以及 Python 包 0.22.0 至 0.32.0 版本中,compose-lint 会将同级目录下的 文件中的值代入镜像字段,并在 CL-0004 和 CL-0019 的检测消息及修复建议文本中对解析后的值进行引用处理。 若某工作流先将秘密(secret)写入该 文件,随后对不可信的拉取请求(pull request)内容执行 lint

CVSS 2.3 · Low

Possible ATT&CK Techniques 2 AI

T1038 T1040 · Network Sniffing

Affected Version Matrix 1

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

I. Basic Information for CVE-2026-123372

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 pull request can make compose-lint quote a secret from a CI-generated `.env` into its findings
Source: CVE Program / CVE List V5
Vulnerability Description
compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From 0.22.0 until 0.32.0, compose-lint substitutes values from a sibling .env file into image fields and quotes the resolved value in CL-0004 and CL-0019 finding messages and fix text. In a workflow that writes secrets into that file and then lints untrusted pull-request content, an attacker can reference a secret variable so its whole value reaches the job log, JSON output, SARIF artifacts, and Code Scanning alerts. Fork pull requests normally lack secrets, so exploitation requires a secret-bearing workflow such as pull_request_target, same-repository branches, or a retained .env on a self-hosted runner, and the pass or fail result is unchanged. 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:L/VI:N/VA:N/SC:N/SI:N/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.22.0, < 0.32.0 -

II. Public POCs for CVE-2026-123372

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

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

Other References for CVE-2026-123372 (4)

Same Patch Batch · tmatens · 2026-11-09 · 7 CVEs total

CVE-2026-123369 5.3 MEDIUM compose-lint: Compose file text can issue GitHub Actions workflow commands through the com
CVE-2026-123370 5.1 MEDIUM compose-lint: `fix --apply` can delete a line the user did not select, including a securit
CVE-2026-123368 2.3 LOW compose-lint: .env read through a symlink outside the project can expose the CI job's envi
CVE-2026-123371 2.3 LOW compose-lint: A `.compose-lint.yml` symlinked outside the project is read, and a parse err
CVE-2026-123373 2.3 LOW compose-lint: A committed symlink makes compose-lint quote a file from outside the project
CVE-2026-123796 2.3 LOW compose-lint: Incomplete fix for GHSA-jf3h-8jvx-vcrg: a run stopped at the finding limit q

IV. Related Vulnerabilities