PT-2026-141814
CVE-2026-125122
·
Published
2026-11-10
·
Updated
2026-11-10
Description by
CVSS 4.0
2.3
LowMetricsAV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
Name of the Vulnerable Software and Affected Versions
compose-lint version 0.31.0
Description
When using
--format json or --format sarif to print output to stdout, the software fails to sanitize the ##[ workflow-command opener within strings. This allows a pull request to include the opener in a service name or other Compose value, which the GitHub Actions runner then recognizes and executes even when embedded in a serialized line. This can lead to the unauthorized creation of annotations, folding or hiding parts of the job log, or the issuance of other commands accepted by the runner. This issue occurs when the package, pre-commit hook, or Docker image prints output to the CI log, but does not affect the lint pass or fail result.Recommendations
Update compose-lint to version 0.32.0 or later.
Write
--format json and --format sarif output to a file instead of the log.
On GitHub Actions, use the tmatens/compose-lint Action.
Bracket the compose-lint step with ::stop-commands::<random token> and ::<token>:: to disable command processing. Found an issue in the description? Have something to add? Feel free to write us 👾