Symlinked policy file in compose-lint leaks part of target file
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-209.
Summary
compose-lint from 0.2.0 before 0.32.0 follows a .compose-lint.yml policy file symbolic link that points outside the project. When that external file fails YAML parsing, the error output includes part of the target line (CWE-59, CWE-209). A remote attacker with no privileges who can submit a pull request can point the link at a runner credential file, so about 30 characters of that file can appear in logs or Code Scanning output, though the attacker cannot choose the exact disclosed line. User interaction is required, and the run exits with an error.
Written with Claude Haiku 5.5 from the sources below · 2026-11-10
Description from the CNA
compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From 0.2.0 until 0.32.0, compose-lint automatically follows a .compose-lint.yml policy-file symbolic link outside the project and includes part of the target line when that external file fails YAML parsing. A pull request can point the policy file at a runner credential file, causing about 30 characters around an attacker-uncontrolled parse position to appear in standard error, JSON errors, and SARIF tool execution notifications uploaded by the GitHub Action. The run exits with an error and the attacker cannot select the exact disclosed line, but public logs or Code Scanning output can reveal part of the target. 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.2.0 to before 0.32.0 | 0.32.0 | Patch available | CNA |
| — | compose-lint (PyPI) | 0.2.0 to before 0.32.0 | 0.32.0 | Patch available | GHSA-88f4-frh5-gmcr |
| — | tmatens/compose-lint (GitHub Actions) | 0.2.0 to before 0.32.0 | 0.32.0 | Patch available | GHSA-88f4-frh5-gmcr |
- compose-lint Vendortmatens Affected 0.2.0 to before 0.32.0 Fixed in 0.32.0 Patch available CNA
- compose-lint (PyPI) Vendor— Affected 0.2.0 to before 0.32.0 Fixed in 0.32.0 Patch available GHSA-88f4-frh5-gmcr
- tmatens/compose-lint (GitHub Actions) Vendor— Affected 0.2.0 to before 0.32.0 Fixed in 0.32.0 Patch available GHSA-88f4-frh5-gmcr
Remediation
Upgrade compose-lint to version 0.32.0 or later, which fixes the issue in the PyPI package, the GitHub Actions tmatens/compose-lint action, and the tmatens compose-lint release.
Written with Claude Haiku 5.5 from the sources below · 2026-11-10
- Fix · CNA compose-lint (tmatens) Fixed in 0.32.0
- Fix · GHSA-88f4-frh5-gmcr compose-lint (PyPI) Fixed in 0.32.0 Advisory →
- Fix · GHSA-88f4-frh5-gmcr tmatens/compose-lint (GitHub Actions) Fixed in 0.32.0 Advisory →
Timeline
- 2026-11-09 Threatist record created from CVE-2026-123371
- 2026-11-10 Alias added: GHSA-88f4-frh5-gmcr
- 2026-11-10 Fix available: GitHub Actions/tmatens/[email protected], PyPI/[email protected] · GHSA-88f4-frh5-gmcr
- 2026-11-10 CVSS score added · GHSA-88f4-frh5-gmcr
- 2026-11-10 Weakness changed · GHSA-88f4-frh5-gmcr
- 2026-11-10 6 new references · GHSA-88f4-frh5-gmcr
- 2026-11-10 CISA SSVC decision points changed
References
Other 5
- https://github.com/tmatens/compose-lint/security/advisories/GHSA-88f4-frh5-gmcr
- https://github.com/tmatens/compose-lint/pull/943
- https://github.com/tmatens/compose-lint/commit/e80547d33b2114040c4bc0e34ef210aee51f5058
- 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-123371 · CVE Program
- CVE-2026-123371 · NVD
- FIRST EPSS
- GHSA-88f4-frh5-gmcr · 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