CVE-2026-125122
Description
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.
Weakness
- CWE-117: Improper Output Neutralization for Logs
- CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-11-13 |
Timeline
- 2026-11-10Published by the CNA16:50 UTC
- 2026-11-10GitHub advisory published (GHSA-hr4h-4c45-v4q4)same day
- 2026-11-13CISA SSVC decision recorded3 days after publication
Exploit and advisory records
GitHub advisory GHSA-hr4h-4c45-v4q4, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI compose-lint | from 0.31.0 before 0.32.0 | 0.32.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| tmatens compose-lint |
References
- https://github.com/tmatens/compose-lint/commit/542e63126f795564a65c63887ea0dc558a500688
- https://github.com/tmatens/compose-lint/pull/945
- https://github.com/tmatens/compose-lint/releases/tag/v0.32.0
- https://github.com/tmatens/compose-lint/security/advisories/GHSA-hr4h-4c45-v4q4
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-125122'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-125122'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-125122'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-125122'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).