# CVE-2026-123372: compose-lint: A pull request can make compose-lint quote a secret from a CI-generated `.env` into its findings

- 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.48%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-09T17:38:24.683Z
- Modified: 2026-11-13T13:17:57.740Z
- Also known as: GHSA-jf3h-8jvx-vcrg
- Weaknesses: CWE-200, CWE-532
- SSVC (CISA-ADP): exploitation poc, 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.22.0 until 0.32.0, compose-lint substitutes values from a sibling .env file into image fields and quotes the resolved value in CL-0004 and CL-0019 finding messages and fix text. In a workflow that writes secrets into that file and then lints untrusted pull-request content, an attacker can reference a secret variable so its whole value reaches the job log, JSON output, SARIF artifacts, and Code Scanning alerts. Fork pull requests normally lack secrets, so exploitation requires a secret-bearing workflow such as pull_request_target, same-repository branches, or a retained .env on a self-hosted runner, and the pass or fail result is unchanged. This issue is fixed in version 0.32.0.

(As written by CVE List.)

## Affected

- tmatens compose-lint: >= 0.22.0, < 0.32.0
- compose-lint (PyPI): from 0.22.0 before 0.32.0
- tmatens/compose-lint (GitHub Actions): from 0.22.0 before 0.32.0; from 811ef6b379dbc78d048fcedaf976205705d4a7c3 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-jf3h-8jvx-vcrg> (exploit, web)
- <https://github.com/tmatens/compose-lint/pull/944> (web)
- <https://github.com/tmatens/compose-lint/commit/977da9724789264c2662afe47f79220e915442c2> (web)
- <https://github.com/tmatens/compose-lint/releases/tag/v0.32.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-123372> (advisory)
- <https://github.com/tmatens/compose-lint> (package)

## Sources

- CVE List: [CVE-2026-123372](https://www.cve.org/CVERecord?id=CVE-2026-123372), CVE Terms of Use, modified 2026-11-13
- GitHub Advisory Database: [GHSA-jf3h-8jvx-vcrg](https://github.com/advisories/GHSA-jf3h-8jvx-vcrg), CC-BY-4.0, modified 2026-11-10
- NVD: [CVE-2026-123372](https://nvd.nist.gov/vuln/detail/CVE-2026-123372), Public domain, modified 2026-11-13

---

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