CVE-2026-123368
Description
compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From 0.22.0 until 0.31.0, compose-lint follows a sibling .env symbolic link outside the project without applying its normal containment check. From 0.28.0, the same gap also affects an include project_directory link outside the project. A pull request can reference a variable from the linked file, causing substitution to place runner file or process-environment data into finding messages written to logs, JSON, SARIF artifacts, and Code Scanning alerts. Reading /proc/self/environ can expose the remainder of the linter process environment because NUL-separated entries are treated as one value, although disclosure requires a workflow that processes untrusted changes with useful environment data and GitHub normally withholds secrets from fork pull requests. The pass or fail result is not changed. This issue is fixed in version 0.31.0.
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
- CWE-59: Improper Link Resolution Before File Access
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-11-13 |
Timeline
- 2026-11-09Published by the CNA17:25 UTC
- 2026-11-10GitHub advisory published (GHSA-6wcv-rj3c-mhv3)1 day after publication
- 2026-11-13CISA SSVC decision recorded4 days after publication
Exploit and advisory records
GitHub advisory GHSA-6wcv-rj3c-mhv3, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI compose-lint | from 0.22.0 before 0.31.0 | 0.31.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/c43204ad4dab11d54e20574a52bc4e5835246ca5
- https://github.com/tmatens/compose-lint/pull/917
- https://github.com/tmatens/compose-lint/releases/tag/v0.31.0
- https://github.com/tmatens/compose-lint/security/advisories/GHSA-6wcv-rj3c-mhv3
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-123368'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-123368'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-123368'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-123368'
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).