PatchSiren cyber security CVE debrief
CVE-2026-123372 tmatens CVE debrief
A security issue in compose-lint, a Docker Compose security linter, allows an attacker to reference a secret variable from a CI-generated `.env` file, potentially exposing the secret value in job logs, JSON output, SARIF artifacts, and Code Scanning alerts. This occurs when compose-lint substitutes values from a sibling `.env` file into image fields and quotes the resolved value in certain finding messages and fix text. The issue is fixed in version 0.32.0.
- Vendor
- tmatens
- Product
- compose-lint
- CVSS
- LOW 2.3
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-09
- Original CVE updated
- 2026-11-13
- Advisory published
- 2026-11-09
- Advisory updated
- 2026-11-13
Who should care
Defenders responsible for Docker Compose security, CI/CD pipeline security, and secret management should assess the risk of secret exposure and prioritize updating to version 0.32.0 or later.
Why it matters
Defenders should prioritize updating to version 0.32.0 or later to prevent potential secret exposure through compose-lint. Review workflows that use compose-lint with CI-generated `.env` files and assess the risk of secret exposure.
- Potential secret exposure in job logs, JSON output, SARIF artifacts, and Code Scanning alerts
- Risk of unauthorized access to sensitive data
- Need for updated compose-lint version for secure configuration
Technical summary
compose-lint substitutes values from a sibling `.env` file into image fields and quotes the resolved value in certain finding messages and fix text. An attacker can reference a secret variable from a CI-generated `.env` file, potentially exposing the secret value in job logs, JSON output, SARIF artifacts, and Code Scanning alerts. This occurs when compose-lint handles untrusted pull-request content in a workflow that writes secrets into that file and then lints it, such as in pull_request_target, same-repository branches, or a retained .env on a self-hosted runner. Defenders should prioritize updating to version 0.32.0 or later to prevent potential secret exposure.
Defensive priority
Defenders should prioritize updating to version 0.32.0 or later to prevent potential secret exposure. Review workflows that use compose-lint with CI-generated `.env` files and assess the risk of secret exposure. Verify that compose-lint is properly configured to handle sensitive data.
Recommended defensive actions
- Update to version 0.32.0 or later
- Review workflows that use compose-lint with CI-generated `.env` files
- Verify compose-lint configuration for sensitive data handling
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
Evidence notes
The CVE record and source item provide details on the security issue in compose-lint. The issue is related to the handling of secrets in CI-generated `.env` files. The fix is available in version 0.32.0.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-123372 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-123372
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-123372 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-123372
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
compose-lint: A pull request can make compose-lint quote a secret from a CI-generated `.env` int
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/123xxx/CVE-2026-123372.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/tmatens/compose-lint/security/advisories/GHSA-jf3h-8jvx-vcrg
Supplemental source - x_refsource_CONFIRM
-
Source reference
Unverified legacy reference
URL: https://github.com/tmatens/compose-lint/pull/944
Supplemental source - x_refsource_MISC
-
Source reference
Unverified legacy reference
URL: https://github.com/tmatens/compose-lint/commit/977da9724789264c2662afe47f79220e915442c2
Supplemental source - x_refsource_MISC
-
Source reference
Unverified legacy reference
URL: https://github.com/tmatens/compose-lint/releases/tag/v0.32.0
Supplemental source - x_refsource_MISC
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.