{"id":"CVE-2026-123372","state":"PUBLISHED","title":"compose-lint: A pull request can make compose-lint quote a secret from a CI-generated `.env` into its findings","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.","publishedAt":"2026-11-09T17:38:24.683Z","updatedAt":"2026-11-13T12:29:34.320Z","severity":{"score":2.3,"label":"Low","version":"4.0","vector":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["tmatens compose-lint"],"affected":[{"vendor":"tmatens","product":"compose-lint","versions":[{"version":">= 0.22.0, < 0.32.0","status":"affected"}]}],"references":["https://github.com/tmatens/compose-lint/security/advisories/GHSA-jf3h-8jvx-vcrg","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"],"weaknesses":["CWE-200","CWE-532"],"ingestedAt":"2026-11-13T12:34:06.872Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/123xxx/CVE-2026-123372.json","commit":"0769c58b9234caa4c1fb508cf80ad295e27fb944","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-123372","state":"PUBLISHED","datePublished":"2026-11-09T17:38:24.683Z","dateUpdated":"2026-11-13T12:29:34.320Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-11-05T20:43:10.420Z"},"containers":{"cna":{"title":"compose-lint: A pull request can make compose-lint quote a secret from a CI-generated `.env` into its findings","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"tmatens","product":"compose-lint","versions":[{"version":">= 0.22.0, < 0.32.0","status":"affected"}]}],"references":[{"url":"https://github.com/tmatens/compose-lint/security/advisories/GHSA-jf3h-8jvx-vcrg","name":"https://github.com/tmatens/compose-lint/security/advisories/GHSA-jf3h-8jvx-vcrg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tmatens/compose-lint/pull/944","name":"https://github.com/tmatens/compose-lint/pull/944","tags":["x_refsource_MISC"]},{"url":"https://github.com/tmatens/compose-lint/commit/977da9724789264c2662afe47f79220e915442c2","name":"https://github.com/tmatens/compose-lint/commit/977da9724789264c2662afe47f79220e915442c2","tags":["x_refsource_MISC"]},{"url":"https://github.com/tmatens/compose-lint/releases/tag/v0.32.0","name":"https://github.com/tmatens/compose-lint/releases/tag/v0.32.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":2.3,"baseSeverity":"LOW","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-200","lang":"en","description":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-532","lang":"en","description":"CWE-532: Insertion of Sensitive Information into Log File","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-09T17:39:27.049Z"},"source":{"advisory":"GHSA-jf3h-8jvx-vcrg","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/tmatens/compose-lint/security/advisories/GHSA-jf3h-8jvx-vcrg","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-13T12:28:46.518093Z","id":"CVE-2026-123372","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-13T12:29:34.320Z"}}]}}}