CVE-2026-123371 — tmatens compose-lint
One of 7 tmatens compose-lint vulnerabilities published together by NVD: our article covers all of them.
DockerWebCloud & containersVulnerabilitiesApplication securityAnalysis
compose-lint CVE-2026-123371: Policy-file symlink can leak fragments of runner files into CI output
CVE-2026-123371 is a low-severity (CVSS 2.3) issue in tmatens compose-lint that can expose part of a file outside the project in GitHub Action logs and Code Scanning output. It is fixed in version 0.32.0.
Key points
- compose-lint versions from 0.2.0 up to 0.32.0 are affected; version 0.32.0 contains the fix
- A policy-file symlink pointing outside the project can cause fragments of an external file to appear in error output
- NVD rates the issue LOW (CVSS 2.3) and notes the attacker cannot choose the exact disclosed line
- Exposure occurs through public logs or Code Scanning output from the GitHub Action
- The sources do not state whether the issue is being exploited
What's affected
The NVD entry says compose-lint, a Docker Compose security linter, is affected from version 0.2.0 until 0.32.0. The fix is in 0.32.0. The issue matters most where compose-lint runs as the project's GitHub Action, because that is where its output is uploaded to logs and Code Scanning.
What the flaw is
The tool automatically follows a symbolic link named as its .compose-lint.yml policy file, even when the link points outside the project. If the external file fails YAML parsing, the tool includes part of the offending line in its error output. According to NVD, about 30 characters around the parse position can appear in standard error, JSON errors, and SARIF tool execution notifications. The run then exits with an error.
How serious is it
NVD rates the issue LOW, with a CVSS score of 2.3. NVD notes that the attacker cannot choose the exact line that is disclosed, and the run fails rather than completing. Even so, public logs or Code Scanning output can reveal part of a file on the runner, such as a credential file. The sources do not say whether the issue is being exploited, and no public exploitation reports are cited.
What to do
Upgrade compose-lint to 0.32.0 or later. Review CI logs and Code Scanning results from runs of affected versions, especially in public repositories, for fragments of unexpected file content. If any output may include a secret, rotate that credential. Restrict pull request workflows from untrusted contributors so they do not run with access to sensitive runner credentials.
Recommended actions
- Upgrade compose-lint to version 0.32.0 or later
- Review CI logs and Code Scanning output from affected runs, especially in public repositories, for unexpected file content
- Rotate any runner credential that may have appeared in logs or scan output
- Restrict pull request workflows from untrusted contributors so they cannot access sensitive runner credentials
Summary
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.
Severity breakdown
Low · 2.3
An attacker without an account can exploit this over the network if a user views or visits something, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- low on confidentiality, none on integrity and availability
- Impact on other systems
- none
Weakness
- CWE-59: Improper Link Resolution Before File Access ('Link Following')
- CWE-209: Generation of Error Message Containing Sensitive Information
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| compose-lint (PyPI) | ≥ 0.2.0, ≤ 0.31.0 | 0.32.0 |
| tmatens/compose-lint (GitHub Actions) | ≥ 0.2.0, ≤ 0.31.0 | 0.32.0 |
| tmatens compose-lint | >= 0.2.0, < 0.32.0 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/tmatens/compose-lint/commit/e80547d33b2114040c4bc0e34ef210ae…
- github.com/tmatens/compose-lint/pull/943
- github.com/tmatens/compose-lint/releases/tag/v0.32.0
Other references
Affected
- tmatens compose-lint
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-123371?
CVE-2026-123371 is a low-severity (CVSS 2.3) issue in tmatens compose-lint that can expose part of a file outside the project in GitHub Action logs and Code Scanning output. It is fixed in version 0.32.0. Weakness type: Improper Link Resolution Before File Access ('Link Following') (CWE-59).
How severe is CVE-2026-123371?
CVE-2026-123371 has a CVSS 4.0 base score of 2.3 (low), from the CNA (github.com). An attacker without an account can exploit this over the network if a user views or visits something, but only under specific conditions.
Is CVE-2026-123371 being exploited?
Not as far as is known: CVE-2026-123371 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. EPSS estimates a 0.7% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-123371?
compose-lint (PyPI) ≥ 0.2.0, ≤ 0.31.0 (fixed in 0.32.0); tmatens/compose-lint (GitHub Actions) ≥ 0.2.0, ≤ 0.31.0 (fixed in 0.32.0); tmatens compose-lint >= 0.2.0, < 0.32.0.
How do I fix CVE-2026-123371?
Upgrade compose-lint to version 0.32.0 or later. Review CI logs and Code Scanning output from affected runs, especially in public repositories, for unexpected file content. Rotate any runner credential that may have appeared in logs or scan output.
Timeline & sources
References
Related vulnerabilities & news
- SiYuan 3.6.2 to 3.8.10 Path Traversal Vulnerability
- CVE-2026-135150 — Eclipse Foundation Eclipse Ditto
- MediaWiki ExternalData Extension Sensitive Information Exposure in 1.43, 1.45, 1.46, 1.47
- GHSA-c4hm-4h84-2cf3 / CVE-2026-59726 — ruflo MCP bridge allows unauthenticated remote code execution in default Docker Compose deployments
- AutoGPT SSRF Vulnerability in IPv6 Blocklist Allows Local Network Access