CVE-2026-123368 · Package
NO FIX YET · SEE WHAT TO DO
compose-lint follows a sibling .env symlink that points outside the project without its containment check. A crafted pull request can make runner file or process environment data appear in findings, logs, and SARIF alerts.
first public Sep 27, 2026 · 1 source
Could this affect your app?
Free first check from your website. Connect your repo for the full answer.
Teams running compose-lint in CI on Docker Compose projects, especially on pull requests from untrusted contributors, for versions from 0.22.0 through 0.30.x. Disclosure needs a workflow that processes untrusted changes and has useful environment data available; GitHub normally withholds secrets from fork pull requests. Pass or fail results are unchanged.
Not affected if no-untrusted-pull-requests, version-0.31.0-or-later
Who cares ci, docker-compose, github-actions
compose-lint --version or the lockfile entry.0.31.0.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.
Are you affected?
Tell InfraStack what you run. It checks this one, and every next one, against your stack.
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
This page as .md · .json · 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
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.