## compose-lint: .env read through a symlink outside the project can expose the CI job's environment

- 種別: advisory
- 重大度: low
- 関連技術: python, actions
- CVE: CVE-2026-123368
- 公開日時: 2026-11-10T15:56:56.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-6wcv-rj3c-mhv3)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-6wcv-rj3c-mhv3

影響: pip:compose-lint >= 0.22.0, <= 0.30.0 → 0.31.0, actions:tmatens/compose-lint >= 0.22.0, <= 0.30.0 → 0.31.0
compose-lint fills in ${VAR} references from the .env file next to the Compose file. It is meant to read nothing outside the project directory, and env_file:, include: and extends: paths are checked for that. The .env read is not. If .env is a symlink, compose-lint follows it wherever it points. A pull request can add a .env symlink to any file on the CI runner and a Compose file that references a variable from it. compose-lint substitutes the value and quotes it in finding messages, which go t…