# CVE-2026-123373: compose-lint: A committed symlink makes compose-lint quote a file from outside the project into its output

- Severity: Low 2.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-11-09T17:46:13.505Z
- Modified: 2026-11-12T22:18:51.470Z
- Also known as: GHSA-whr6-fgpq-fpv9
- Weaknesses: CWE-59, CWE-209
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- tmatens compose-lint: >= 0.2.0, < 0.25.0
- compose-lint (PyPI): from 0.2.0 before 0.25.0
- tmatens/compose-lint (GitHub Actions): from 0.2.0 before 0.25.0; from 60c091c7cc8f86c6b0c5954031097364fea0a201 before cb12b5313ff1fb182ff3c832b41ff3d574a68c6b

## Every score

- GitHub_M: CVSS:4.0 2.3 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/tmatens/compose-lint/security/advisories/GHSA-whr6-fgpq-fpv9> (web)
- <https://github.com/tmatens/compose-lint/pull/721> (web)
- <https://github.com/tmatens/compose-lint/commit/364814329417dbbc34d1ad2f3981f8a7a023799e> (web)
- <https://github.com/tmatens/compose-lint/releases/tag/v0.25.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-123373> (advisory)
- <https://github.com/tmatens/compose-lint> (package)

## Sources

- CVE List: [CVE-2026-123373](https://www.cve.org/CVERecord?id=CVE-2026-123373), CVE Terms of Use, modified 2026-11-09
- GitHub Advisory Database: [GHSA-whr6-fgpq-fpv9](https://github.com/advisories/GHSA-whr6-fgpq-fpv9), CC-BY-4.0, modified 2026-11-10
- NVD: [CVE-2026-123373](https://nvd.nist.gov/vuln/detail/CVE-2026-123373), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-123373 · Whole record: https://cve.day/CVE-2026-123373.json · Rebuilt by cve.day 2026-11-25T22:59:49.608Z
