compose-lint: A pull request can make compose-lint quote a secret from a CI-generated `.env` into its findings
CVE-2026-123372
Impact Since 0.22.0, compose-lint fills in ${VAR} references from the .env beside the Compose file, as Compose does. The documentation says values under environment: are never resolved from a .env, "that is where secrets live". But image: values are resolved, and CL-0004 and CL-0019 quote the resolved image in their message and fix text. Some CI workflows write secrets into that .env before linting or building. In such a workflow, a pull request that changes one line to image: "${DBPASSWORD}", or image: "nginx:${DBPASSWORD}", gets the secret's value quoted in a finding. The finding reaches the job log, JSON output, and the SARIF uploaded to Code Scanning. GitHub masks registered secrets in the job log, but not in uploaded JSON or SARIF artifacts or in Code Scanning alert text. The pass/fail result is not affected. This needs a workflow that writes secrets into the .env beside the Compose file and runs on pull requests from authors who should not see them. Pull requests from forks normally run without secrets, so the common setup is not exposed, which is why this is scored as low confidentiality impact. Where the conditions hold, such as a pullrequesttarget workflow, pull requests…
Assessment
- CVSS
- 2.3 (v4.0)
- Severity
- Low
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 10 November 2026
- Last updated
- 10 November 2026
- Affected
- compose-lint · tmatens/compose-lint
- Weakness
- CWE-200, CWE-532
CVSS vectorCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
At the source
References
- https://github.com/tmatens/compose-lint/security/advisories/GHSA-jf3h-8jvx-vcrg
- https://nvd.nist.gov/vuln/detail/CVE-2026-123372
- https://github.com/tmatens/compose-lint/pull/944
- https://github.com/tmatens/compose-lint/commit/977da9724789264c2662afe47f79220e915442c2
- https://github.com/tmatens/compose-lint/releases/tag/v0.32.0
- https://github.com/advisories/GHSA-jf3h-8jvx-vcrg
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-123372