CVE-2026-125121: medium-severity vulnerability in tmatens compose-lint
compose-lint: Text in a pull request can still issue CI workflow commands through compose-lint 0.31.0's output
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 5.3epss 0.4%
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.
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
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.6%CVE-2026-123370MEDIUMcompose-lint: `fix --apply` can delete a line the user did not select, including a security settingEPSS 0.5%CVE-2026-123796LOWcompose-lint: Incomplete fix for GHSA-jf3h-8jvx-vcrg: a run stopped at the finding limit quotes a secret from a CI-generated `.env`EPSS 0.5%CVE-2026-123372LOWcompose-lint: A pull request can make compose-lint quote a secret from a CI-generated `.env` into its findingsEPSS 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%
References
https://github.com/advisories/GHSA-6f4g-xm8v-pgv6https://github.com/tmatens/compose-lint/commit/542e63126f795564a65c63887ea0dc558a500688https://github.com/tmatens/compose-lint/pull/945https://github.com/tmatens/compose-lint/releases/tag/v0.32.0https://github.com/tmatens/compose-lint/security/advisories/GHSA-r7j4-crjv-h467