CVE-2026-125125
LOW 2.3CVSS 4.0compose-lint: Workflow command injection through SARIF-directory errors triggered by pull request symlinks
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.
- Published
- 10 Nov 2026
- Last modified
- 12 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-117CWE-150
- Also known as
- GHSA-xcf7-88g6-7xr8
- Sources
- NVDJSONOSV GHSA-xcf7-88g6-7xr8JSON
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 | GitHub Actions | tmatens/compose-lint | >= 0.30.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-xcf7-88g6-7xr8 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-125125 · 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:15 UTC · OSV: first stored (published 10 Nov 2026)