CVE-2026-125122
LOW 2.3CVSS 4.0compose-lint: Text in a pull request can issue CI workflow commands through JSON and SARIF output on stdout
compose-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.
- Published
- 10 Nov 2026
- Last modified
- 13 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-117CWE-150
- Also known as
- GHSA-hr4h-4c45-v4q4
- Sources
- NVDJSONOSV GHSA-hr4h-4c45-v4q4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | LOW 2.3 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | compose-lint | >= 0.31.0, < 0.32.0 | 0.32.0 |
References
- https://github.com/tmatens/compose-lint/commit/542e63126f795564a65c63887ea0dc558a500688 · WEB
- https://github.com/tmatens/compose-lint/pull/945 · WEB
- https://github.com/tmatens/compose-lint/releases/tag/v0.32.0 · WEB
- https://github.com/tmatens/compose-lint/security/advisories/GHSA-hr4h-4c45-v4q4 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-125122 · ADVISORY
- https://github.com/tmatens/compose-lint · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 10 Nov 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Nov 2026)