CVE-2026-125122 Details
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.
A vulnerability in Compose-Lint version 0.31.0 allows for unescaped command openers to be injected into the CI workflow. This occurs when service names or other Compose values contain '##[' or '::' at the start of a line, which the GitHub Actions runner interprets as a command. The issue arises because the '##[' opener is not properly sanitized in the JSON or SARIF output formats when directed to stdout. As a result, a pull request can exploit this by including a crafted service name, triggering the injection when the Compose-Lint action is executed. The vulnerability does not affect the linting results but can manipulate the CI job log or workflow commands.
Upgrade to Compose-Lint version 0.32.0 or later, which includes the necessary fix. If using the GitHub Action, ensure to update to version 0.32.0 or later.
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 13, 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/tmatens/compose-lint/commit/542e63126f795564a65c63887ea0dc558a500688 | [email protected] | Source CodeVendor |
| https://github.com/tmatens/compose-lint/pull/945 | [email protected] | Issue TrackingVendor |
| https://github.com/tmatens/compose-lint/releases/tag/v0.32.0 | [email protected] | Release NotesVendor |
| https://github.com/tmatens/compose-lint/security/advisories/GHSA-hr4h-4c45-v4q4 | [email protected] | AdvisoryRemedyVendor |
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 |
|---|---|
| compose-lint | 0.31.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 13, 2026 | CVE Modified | CISA-ADP |
| Nov 10, 2026 | New CVE Received | [email protected] |
Volerion