CVE-2026-123372
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.
Weakness
- CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-532: Insertion of Sensitive Information into Log File
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-11-13 |
Timeline
- 2026-11-09Published by the CNA17:38 UTC
- 2026-11-10GitHub advisory published (GHSA-jf3h-8jvx-vcrg)1 day after publication
- 2026-11-13CISA SSVC decision recorded4 days after publication
Exploit and advisory records
GitHub advisory GHSA-jf3h-8jvx-vcrg, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI compose-lint | from 0.22.0 before 0.32.0 | 0.32.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| tmatens compose-lint |
References
- https://github.com/tmatens/compose-lint/commit/977da9724789264c2662afe47f79220e915442c2
- https://github.com/tmatens/compose-lint/pull/944
- https://github.com/tmatens/compose-lint/releases/tag/v0.32.0
- https://github.com/tmatens/compose-lint/security/advisories/GHSA-jf3h-8jvx-vcrg
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-123372'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-123372'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-123372'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-123372'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).