CVE-2026-123372: low-severity vulnerability in tmatens compose-lint
compose-lint: A pull request can make compose-lint quote a secret from a CI-generated `.env` into its findings
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
8Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 2.3epss 0.4%
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.
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
Affected products
tmatens · compose-lintRelated CVEs — tmatens compose-lint
In the same product, most dangerous first.
CVE-2026-123368LOWcompose-lint: .env read through a symlink outside the project can expose the CI job's environmentEPSS 0.5%CVE-2026-123373LOWcompose-lint: A committed symlink makes compose-lint quote a file from outside the project into its outputEPSS 0.5%CVE-2026-123371LOWcompose-lint: A `.compose-lint.yml` symlinked outside the project is read, and a parse error quotes part of the targetEPSS 0.4%CVE-2026-125121MEDIUMcompose-lint: Text in a pull request can still issue CI workflow commands through compose-lint 0.31.0's outputEPSS 0.4%CVE-2026-125125LOWcompose-lint: A symlink in a pull request can issue workflow commands through the compose-lint Action's SARIF-directory error messageEPSS 0.4%CVE-2026-125123LOWcompose-lint: A file path in a pull request can issue CI workflow commands through compose-lint 0.31.0's command-line error messagesEPSS 0.4%