CVE-2026-125121 Details
Description
compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. In version 0.31.0, compose-lint escapes GitHub Actions workflow-command openers only after ASCII spaces and tabs, while the runner strips all leading Unicode whitespace before interpreting a line. Untrusted Compose values or repository paths beginning with Unicode whitespace followed by :: can therefore reach the text report, fix guidance, the fix dry-run diff, and stderr diagnostics as workflow commands when the package, pre-commit hook, or Docker image runs directly in CI. The GitHub Action is not affected because it disables command processing, and the flaw does not change the lint pass or fail result. This issue is fixed in version 0.32.0.
A vulnerability in Compose-Lint version 0.31.0 allows Unicode whitespace to bypass command sanitization, leading to unintended GitHub Actions workflow command injections. This occurs because the GitHub Actions runner trims all leading Unicode whitespace before processing a line, while Compose-Lint only escapes command openers after ASCII spaces and tabs. As a result, untrusted Compose values or repository paths with leading Unicode whitespace can be misinterpreted as commands when the linter is run in CI. The issue is not present when using the Compose-Lint GitHub Action, which disables command processing.
Users can upgrade to Compose-Lint version 0.32.0 or later, or use the 'tmatens/compose-lint' GitHub Action, which includes the necessary fixes. If using the 'compose-lint' package directly, ensure to sanitize the output or manage the workflow commands manually.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 10, 2026CISA-ADP
Assessed Nov 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/advisories/GHSA-6f4g-xm8v-pgv6 | [email protected] | AdvisoryRemedyVendor |
| https://github.com/tmatens/compose-lint/commit/542e63126f795564a65c63887ea0dc558a500688 | [email protected] | Source CodeVendor |
| https://github.com/tmatens/compose-lint/pull/945 | [email protected] | Source CodeVendor |
| https://github.com/tmatens/compose-lint/releases/tag/v0.32.0 | [email protected] | Release NotesVendor |
| https://github.com/tmatens/compose-lint/security/advisories/GHSA-r7j4-crjv-h467 | [email protected] | AdvisoryBundleRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-117 | Improper Output Neutralization for Logs | [email protected] |
| CWE-150 | Improper Neutralization of Escape, Meta, or Control Sequences | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| tmatens/compose-lint | <= 0.30.0 (semver) >= 0.2.0, <= 0.30.0 (semver) 0.31.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 12, 2026 | CVE Modified | CISA-ADP |
| Nov 10, 2026 | New CVE Received | [email protected] |
Volerion