CVE-2026-125125
Low 2.3No known exploitationFix availablecompose-lint: A symlink in a pull request can issue workflow commands through the compose-lint Action's SARIF-directory error message
Vendor advisory: GHSA-xcf7-88g6-7xr8
Record last updated
CVSS score
Low on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
No EPSS score available
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-117, CWE-150
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| actions | tmatens/compose-lint | from 0.30.0 up to and including 0.31.0 | 0.32.0 | GitHub Advisory Database |
| tmatens | compose-lint | >= 0.30.0, < 0.32.0 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-xcf7-88g6-7xr8 (opens in a new tab)github-advisory
- https://github.com/tmatens/compose-lint/commit/542e63126f795564a65c63887ea0dc558a500688 (opens in a new tab)x_refsource_misc
- https://github.com/tmatens/compose-lint/pull/945 (opens in a new tab)x_refsource_misc
- https://github.com/tmatens/compose-lint/releases/tag/v0.32.0 (opens in a new tab)x_refsource_misc
- https://github.com/tmatens/compose-lint/security/advisories/GHSA-xcf7-88g6-7xr8 (opens in a new tab)x_refsource_confirm