tmatens/compose-lint · compose-lint: Compose file text can issue GitHub Actions workflow commands through the compose-lint Action
Affects tmatens/compose-lintSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 0.31.0 when convenient.
Data as of 10 Nov 2026, 17:48 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 5.3 |
|---|
- Patch
- Available – fixed in 0.31.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:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.
What to do
Upgrade tmatens/compose-lint and compose-lint to 0.31.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| GitHubtmatens/compose-lint | Affected
| Fixed in
|
| PyPIcompose-lint | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in compose-lint version 0.31.0, which escapes command sequences and uses a stop-commands token to prevent the runner from processing workflow commands in the Action's output. Users should upgrade to version 0.31.0 or later. As a workaround, users can wrap the compose-lint step in their workflow with '::stop-commands::<random token>' and '::<random token>::' to disable command processing during output. Alternatively, using '--format json' or '--format sarif' instead of the text report avoids this issue when linting untrusted pull requests.
Description
The compose-lint GitHub Action prior to version 0.31.0 outputs text that can be interpreted by the GitHub Actions runner as workflow commands. This allows a malicious Compose file in a pull request to inject commands that create fake error or warning annotations, fold logs to hide real verdicts, or mask strings in the log output. The issue arises because the Action does not neutralize the legacy command syntax '##[' in its text report output. The vulnerability was fixed in version 0.31.0 by escaping these sequences and using a stop-commands token to prevent command processing during output.
References
- github.com/tmatens/compose-lint/security/advisories/GHSA-6f4g-xm8v-pgv6 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-123369 (opens in a new tab)
- github.com/tmatens/compose-lint/pull/918 (opens in a new tab)
- github.com/tmatens/compose-lint/commit/672bd11145621f787c295fb11f3a859cdec1b38d (opens in a new tab)
- github.com/tmatens/compose-lint (opens in a new tab)
- github.com/tmatens/compose-lint/releases/tag/v0.31.0 (opens in a new tab)