{"affected":[{"product":"compose-lint","source":"CNA: GitHub_M","vendor":"tmatens","versions":[{"status":"affected","version":">= 0.22.0, < 0.31.0"}]},{"ecosystem":"pip","packageName":"compose-lint","product":"compose-lint","source":"GitHub GHSA-6wcv-rj3c-mhv3","vendor":"","versions":[{"status":"affected","version":">= 0.22.0, <= 0.30.0","versionType":"GitHub advisory range"}]},{"ecosystem":"actions","packageName":"tmatens/compose-lint","product":"tmatens/compose-lint","source":"GitHub GHSA-6wcv-rj3c-mhv3","vendor":"","versions":[{"status":"affected","version":">= 0.22.0, <= 0.30.0","versionType":"GitHub advisory range"}]},{"defaultStatus":"unaffected","ecosystem":"PyPI","packageName":"compose-lint","product":"compose-lint","source":"OSV GHSA-6wcv-rj3c-mhv3","vendor":"","versions":[{"status":"affected","version":"0.22.0","versionType":"PyPI"},{"status":"affected","version":"0.23.0","versionType":"PyPI"},{"status":"affected","version":"0.24.0","versionType":"PyPI"},{"status":"affected","version":"0.25.0","versionType":"PyPI"},{"status":"affected","version":"0.26.0","versionType":"PyPI"},{"status":"affected","version":"0.27.0","versionType":"PyPI"},{"status":"affected","version":"0.28.0","versionType":"PyPI"},{"status":"affected","version":"0.29.0","versionType":"PyPI"},{"status":"affected","version":"0.30.0","versionType":"PyPI"},{"events":[{"introduced":"0.22.0"},{"fixed":"0.31.0"}],"status":"unknown","version":"0.22.0","versionType":"ECOSYSTEM"}]},{"defaultStatus":"unaffected","ecosystem":"GitHub Actions","packageName":"tmatens/compose-lint","product":"tmatens/compose-lint","source":"OSV GHSA-6wcv-rj3c-mhv3","vendor":"","versions":[{"status":"affected","version":"v0.30.0","versionType":"GitHub Actions"},{"status":"affected","version":"v0.29.0","versionType":"GitHub Actions"},{"status":"affected","version":"v0.28.0","versionType":"GitHub Actions"},{"status":"affected","version":"v0.27.0","versionType":"GitHub Actions"},{"status":"affected","version":"v0.26.0","versionType":"GitHub Actions"},{"status":"affected","version":"v0.25.0","versionType":"GitHub Actions"},{"status":"affected","version":"v0.24.0","versionType":"GitHub Actions"},{"status":"affected","version":"v0.23.0","versionType":"GitHub Actions"},{"status":"affected","version":"v0.22.0","versionType":"GitHub Actions"},{"events":[{"introduced":"0.22.0"},{"fixed":"0.31.0"}],"status":"unknown","version":"0.22.0","versionType":"ECOSYSTEM"},{"events":[{"introduced":"811ef6b379dbc78d048fcedaf976205705d4a7c3"},{"fixed":"a6a7a76736de1c72abfa96c41ff8af556ffdc55f"}],"status":"unknown","version":"811ef6b379dbc78d048fcedaf976205705d4a7c3","versionType":"GIT"}]}],"cveId":"CVE-2026-123368","cwes":["CWE-22","CWE-59"],"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.","epss":{"date":"2026-11-12","percentile":0.41707,"score":0.00477},"exploits":[],"kev":null,"metrics":[{"score":2.3,"severity":"low","source":"CNA: GitHub_M","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","version":"4.0"},{"score":2.3,"severity":"low","source":"NVD: security-advisories@github.com","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"}],"modifiedAt":1794572786248,"publishedAt":1794245115559,"references":[{"source":"CNA: GitHub_M","tags":["x_refsource_CONFIRM"],"url":"https://github.com/tmatens/compose-lint/security/advisories/GHSA-6wcv-rj3c-mhv3"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/tmatens/compose-lint/pull/917"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/tmatens/compose-lint/commit/c43204ad4dab11d54e20574a52bc4e5835246ca5"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/tmatens/compose-lint/releases/tag/v0.31.0"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/tmatens/compose-lint/commit/c43204ad4dab11d54e20574a52bc4e5835246ca5"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/tmatens/compose-lint/pull/917"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/tmatens/compose-lint/releases/tag/v0.31.0"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/tmatens/compose-lint/security/advisories/GHSA-6wcv-rj3c-mhv3"},{"source":"GitHub Security Advisories","tags":["advisory"],"url":"https://github.com/tmatens/compose-lint/security/advisories/GHSA-6wcv-rj3c-mhv3"},{"source":"OSV / GitHub Security Advisories","tags":["advisory"],"url":"https://github.com/advisories/GHSA-6wcv-rj3c-mhv3"},{"source":"OSV / GitHub Security Advisories","tags":["osv"],"url":"https://osv.dev/vulnerability/GHSA-6wcv-rj3c-mhv3"}],"remediation":[{"kind":"fix","source":"GitHub GHSA-6wcv-rj3c-mhv3","text":"compose-lint (pip): GitHub reports patched versions 0.31.0. Check the advisory for the affected release branch.","url":"https://github.com/tmatens/compose-lint/security/advisories/GHSA-6wcv-rj3c-mhv3"},{"kind":"fix","source":"GitHub GHSA-6wcv-rj3c-mhv3","text":"tmatens/compose-lint (actions): GitHub reports patched versions 0.31.0. Check the advisory for the affected release branch.","url":"https://github.com/tmatens/compose-lint/security/advisories/GHSA-6wcv-rj3c-mhv3"},{"kind":"fix","source":"OSV GHSA-6wcv-rj3c-mhv3","text":"compose-lint (PyPI): OSV reports a fixed version 0.31.0. Check the advisory for supported release branches.","url":"https://github.com/advisories/GHSA-6wcv-rj3c-mhv3"},{"kind":"fix","source":"OSV GHSA-6wcv-rj3c-mhv3","text":"tmatens/compose-lint (GitHub Actions): OSV reports a fixed version 0.31.0. Check the advisory for supported release branches.","url":"https://github.com/advisories/GHSA-6wcv-rj3c-mhv3"},{"kind":"fix","source":"OSV GHSA-6wcv-rj3c-mhv3","text":"tmatens/compose-lint: OSV reports a fix at commit a6a7a76736de1c72abfa96c41ff8af556ffdc55f.","url":"https://github.com/advisories/GHSA-6wcv-rj3c-mhv3"}],"revision":"5e96f938d34971a78418cdf800fffbfd656d21ef35efc2cc7dc9234edaff8706","sources":[{"modifiedAt":1794572786248,"name":"CNA: GitHub_M","retrievedAt":1794575334602,"url":"https://www.cve.org/CVERecord?id=CVE-2026-123368"},{"modifiedAt":1794521931470,"name":"NVD","retrievedAt":1794529163976,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123368"},{"modifiedAt":1794272805000,"name":"GitHub Security Advisories","retrievedAt":1794444909582,"url":"https://github.com/tmatens/compose-lint/security/advisories/GHSA-6wcv-rj3c-mhv3"},{"modifiedAt":1794327305349,"name":"OSV / GitHub Security Advisories","retrievedAt":1794575335356,"url":"https://osv.dev/vulnerability/GHSA-6wcv-rj3c-mhv3"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1794550438467,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-123368"}],"ssvc":{"assessedAt":1794572603996,"automatable":"no","exploitation":"poc","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"compose-lint: .env read through a symlink outside the project can expose the CI job's environment","updatedAt":1794575335356}