compose-lint Action runs workflow commands from SARIF directory error message
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
The compose-lint GitHub Action from 0.30.0 before 0.32.0 prints the resolved directory from a failed sarif-file subdirectory creation without effective command suppression, which is CWE-117. A pull request can commit a symlink on that path to a directory whose name contains a newline followed by a workflow command, so the error message issues that command in the job log. Only the Action with sarif-file set to a subdirectory is affected.
Written with Claude Haiku 5.5 from the sources below · 2026-11-11
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| tmatens | compose-lint | 0.30.0 to before 0.32.0 | 0.32.0 | Patch available | CNA |
| — | tmatens/compose-lint (GitHub Actions) | 0.30.0 to before 0.32.0 | 0.32.0 | Patch available | GHSA-xcf7-88g6-7xr8 |
- compose-lint Vendortmatens Affected 0.30.0 to before 0.32.0 Fixed in 0.32.0 Patch available CNA
- tmatens/compose-lint (GitHub Actions) Vendor— Affected 0.30.0 to before 0.32.0 Fixed in 0.32.0 Patch available GHSA-xcf7-88g6-7xr8
Remediation
Upgrade the compose-lint GitHub Action and the compose-lint package to version 0.32.0, which fixes the issue in both.
Written with Claude Haiku 5.5 from the sources below · 2026-11-11
- Fix · CNA compose-lint (tmatens) Fixed in 0.32.0
- Fix · GHSA-xcf7-88g6-7xr8 tmatens/compose-lint (GitHub Actions) Fixed in 0.32.0 Advisory →
Timeline
- 2026-11-10 Threatist record created from CVE-2026-125125
- 2026-11-10 CISA SSVC decision points changed
- 2026-11-10 Alias added: GHSA-xcf7-88g6-7xr8
- 2026-11-10 Fix available: GitHub Actions/tmatens/[email protected] · GHSA-xcf7-88g6-7xr8
- 2026-11-10 CVSS score added · GHSA-xcf7-88g6-7xr8
- 2026-11-10 Weakness changed · GHSA-xcf7-88g6-7xr8
- 2026-11-10 6 new references · GHSA-xcf7-88g6-7xr8
References
Other 5
- https://github.com/tmatens/compose-lint/security/advisories/GHSA-xcf7-88g6-7xr8
- https://github.com/tmatens/compose-lint/pull/945
- https://github.com/tmatens/compose-lint/commit/542e63126f795564a65c63887ea0dc558a500688
- https://github.com/tmatens/compose-lint/releases/tag/v0.32.0
- https://github.com/tmatens/compose-lint
More tmatens vulnerabilities
- TI-2026-87180 compose-lint fix --apply deletes unselected lines, including security settings CVSS 4.0MEDIUM 5.1
- TI-2026-87186 Incomplete fix lets compose-lint leak .env secrets at finding limit CVSS 4.0LOW 2.3
- TI-2026-87182 Secret values from a .env file leak into compose-lint findings CVSS 4.0LOW 2.3
- TI-2026-87178 Symlink traversal in compose-lint can expose CI job environment data CVSS 4.0LOW 2.3
- TI-2026-87874 compose-lint: Unicode whitespace lets PR text issue CI workflow commands CVSS 4.0MEDIUM 5.3
- TI-2026-87179 Workflow command injection in compose-lint Action output CVSS 4.0MEDIUM 5.3
Sources
- CVE-2026-125125 · CVE Program
- CVE-2026-125125 · NVD
- FIRST EPSS
- GHSA-xcf7-88g6-7xr8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences