# CVE-2026-123371: compose-lint: A `.compose-lint.yml` symlinked outside the project is read, and a parse error quotes part of the target

- 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.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2026-11-09T17:36:29.552Z
- Modified: 2026-11-12T22:18:51.470Z
- Also known as: GHSA-88f4-frh5-gmcr
- 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.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.

(As written by CVE List.)

## Affected

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

## 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-88f4-frh5-gmcr> (web)
- <https://github.com/tmatens/compose-lint/pull/943> (web)
- <https://github.com/tmatens/compose-lint/commit/e80547d33b2114040c4bc0e34ef210aee51f5058> (web)
- <https://github.com/tmatens/compose-lint/releases/tag/v0.32.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-123371> (advisory)
- <https://github.com/tmatens/compose-lint> (package)

## Sources

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

---

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