CVE-2026-125121

GHSA-r7j4-crjv-h467 · published 10 Nov 2026 · updated 12 Nov 2026

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

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in compose-lint 0.32.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
tmatens>=0.31.0 <0.32.0
pypi: compose-lint>=0.31.0 <0.32.00.32.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in compose-lint (PyPI), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-125121 severity on Zeptric[![CVE-2026-125121](https://zeptric.io/badge/cve/CVE-2026-125121.svg)](https://zeptric.io/cve/CVE-2026-125121)