compose-lint: A committed symlink makes compose-lint quote a file from outside the project into its output
CVE-2026-123373Published 9 Nov 2026, 17:46 UTC
Real-world risk
0.8/ 10Low
Routine
If the vulnerable configuration applies to you: 1.8
PreliminaryFrom the CVSS vector only · confidence low
CVSS
2.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From 0.2.0 until 0.25.0, compose-lint follows a project-controlled symbolic link used as the Compose file outside the project. The same issue affects compose.override.yml and a COMPOSE_FILE entry from 0.22.0, and an env_file target from 0.23.0. If an external Compose-related target fails YAML parsing, the error quotes an attacker-uncontrolled line into standard error, JSON errors, and SARIF notifications, while an external env_file can expose credential-like key names through CL-0020 and CL-0021 findings. The attacker selects the target path but not the exact parser-failure line, values from env_file are not printed, and the pass or fail result is unchanged. This issue is fixed in version 0.25.0.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| compose-lintNiche | >= 0.2.0, < 0.25.0 | 0.25.0 |
What to do
Update to a fixed version: 0.25.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.5% chance of exploitation in 30 days (percentile 41), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together0.315
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.315 × threat 0.850.803
- Rounded to one decimal between 0.1 and 100.8
Exploitation and evidence timeline
- 9 Nov 2026 Published
- 3 Dec 2026 Risk 0.8 (cvss fallback)
Weakness
CWE-59, CWE-209
References
- https://github.com/tmatens/compose-lint/security/advisories/GHSA-whr6-fgpq-fpv9vendor-advisory
- https://github.com/tmatens/compose-lint/pull/721misc
- https://github.com/tmatens/compose-lint/commit/364814329417dbbc34d1ad2f3981f8a7a023799emisc
- https://github.com/tmatens/compose-lint/releases/tag/v0.25.0misc
- CVE-2026-123373 on CVE.org