CVE-2026-125125 Details
Description
compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From version 0.30.0 until 0.32.0, the compose-lint GitHub Action prints the resolved directory from a failed sarif-file subdirectory creation without effective command suppression. Version 0.30.0 has no stop-commands window, while version 0.31.0 prints this error outside its stop-commands window. A pull request can place a committed symlink on that path to a directory whose name contains a newline followed by a workflow command, causing the SARIF-directory error to issue commands in the job log. Only the Action with sarif-file pointing into a subdirectory is affected; a workspace-root SARIF file, the compose-lint package, the pre-commit hook, and the Docker image do not expose this message. This issue is fixed in version 0.32.0.
A vulnerability exists in the Compose-Lint GitHub Action, specifically in versions 0.30.0 through 0.31.0, allowing for unintentional command injection via the Action's SARIF-directory error handling. When 'sarif-file:' points to a subdirectory that cannot be created, the Action resolves and prints the directory path, including any newline characters, as part of the error message. This output can be interpreted as a command by the CI workflow. A pull request can exploit this by committing a symlink to a directory with a crafted name that includes a newline and a command opener, such as '::notice::'. The issue is not present when 'sarif-file:' is set to the repository root or when the Action is run with the default configuration.
Users can upgrade to Compose-Lint version 0.32.0 or later, or keep 'sarif-file:' at the workspace root. Instructions for updating the GitHub Action can be found in the Compose-Lint repository.
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 10, 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-xcf7-88g6-7xr8 | [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 |
|---|---|
| tmatens/compose-lint | >= 0.30.0, <= 0.31.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 10, 2026 | CVE Modified | CISA-ADP |
| Nov 10, 2026 | New CVE Received | [email protected] |
Volerion