CVE-2026-125122 · Package
NO FIX YET · SEE WHAT TO DO
compose-lint 0.31.0 does not escape the GitHub Actions workflow-command opener when it prints JSON or SARIF to stdout. A pull request that puts that text into a Compose value can make the Actions runner act on it when the output lands in the job log.
first public Nov 10, 2026 · 1 source
Could this affect your app?
Free first check from your website. Connect your repo for the full answer.
Teams that run compose-lint 0.31.0 in GitHub Actions or pre-commit hooks with JSON or SARIF output printed to stdout, so the output reaches the job log. Writing output to a file or using the compose-lint GitHub Action is not affected, and the lint pass or fail result does not change.
Not affected if file-output, github-action, not-0.31.0
Who cares ci, docker-compose, github-actions
compose-lint --version or the package manager's list command; 0.31.0 is affected.--format json or --format sarif and print stdout to the job log instead of writing a file.0.32.0compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. In version 0.31.0, compose-lint does not sanitize the ##[ workflow-command opener inside strings written by --format json or --format sarif to stdout. A pull request can place that opener in a service name or other Compose value, and the GitHub Actions runner recognizes it even in the middle of a serialized line when the package, pre-commit hook, or Docker image prints JSON or SARIF to the job log. Writing the output to a file and using the compose-lint GitHub Action are not affected, and the flaw does not change the lint pass or fail result. This issue is fixed in version 0.32.0.
Check it with your coding agent
It reads this page and tells you if your code is affected.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
This page as .md · .json · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.