CVE-2026-123369: compose-lint: Compose file text can issue GitHub Actions workflow commands through the compose-lint Action
Published 2026-11-10 · Updated 2026-11-11 · Also known as GHSA-6f4g-xm8v-pgv6
Summary
The compose-lint Action improperly sanitizes input from Compose files, allowing malicious actor input to trigger unintended GitHub Actions workflow commands. Engineering teams using this Action on untrusted pull requests should update to version 0.31.0 or implement recommended output formatting.
Who is affected
When processing untrusted Compose files, the Action fails to neutralize log command prefixes such as '##[' and '::'. This allows an attacker to manipulate CI logs by creating fake annotations, hiding log segments through grouping, or masking sensitive strings. These vulnerabilities affect deployments using the text report format in GitHub Actions or other CI environments like Azure Pipelines.
Exploitability
The vulnerability carries a CVSS 3.1 base score of 4.3, indicating a moderate risk that requires user interaction and network access. With an EPSS score of 0.004, the probability of exploitation is low, and the vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Update the GitHub Actions workflow and PyPI package to version 0.31.0 or later.
- Transition from text-based reports to '--format json' or '--format sarif' when processing untrusted pull requests.
- If immediate upgrading is not possible, wrap the compose-lint step in '::stop-commands::<random token>' and '::<random token>::' workflow commands.
How to check your project
- Check the workflow configuration or requirements.txt for 'tmatens/compose-lint' or 'compose-lint' versions prior to 0.31.0.
- Inspect logs to identify if the output contains unrecognized '##[' or '::' command sequences originating from Compose file contents.
Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| GitHub Actions | tmatens/compose-lint |
>= 0.2.0, < 0.31.0 | 0.31.0 | uses: tmatens/[email protected] |
| PyPI | compose-lint |
>= 0, < 0.31.0 | 0.31.0 | python -m pip install 'compose-lint>=0.31.0' |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity | Low |
| Availability | None |
FAQ
Does this flaw allow an attacker to bypass the security check entirely?
No, the description confirms that the exit code and pass/fail result of the linting process are not affected by this vulnerability.
Does this only affect GitHub Actions?
While the impact is most notable in GitHub Actions due to runner command processing, the underlying issue also affects Azure Pipelines as it parses the same '##[' syntax.
What is the primary mechanism of the fix?
The fix introduces a random stop-commands token to block workflow command processing while the Action is printing output, and adds escaping for '##[' and '::' prefixes in user-provided content.
Original advisory description
References
- WEB https://github.com/tmatens/compose-lint/security/advisories/GHSA-6f4g-xm8v-pgv6
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-123369
- WEB https://github.com/tmatens/compose-lint/pull/918
- WEB https://github.com/tmatens/compose-lint/commit/672bd11145621f787c295fb11f3a859cdec1b38d
- PACKAGE https://github.com/tmatens/compose-lint
- WEB https://github.com/tmatens/compose-lint/releases/tag/v0.31.0
Source records: GHSA-6f4g-xm8v-pgv6 (OSV.dev) · EPSS by FIRST, 2026-11-26.