compose-lint: .env read through a symlink outside the project can expose the CI job's environment
受影响
| 软件包 | 受影响版本 | 修复版本 |
|---|---|---|
| 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…
在 X 上接收快讯漏洞利用、重大泄露和故障,附应对措施。
关注 @vulnpulse_app2026/11/11 00:56,GitHub Advisory Database 发布了“compose-lint: .env read through a symlink outside the project can expose the CI job's environment”(类型:漏洞公告)。严重程度为“低危”(low)。相关技术:Python、GitHub Actions。CVE:CVE-2026-123368。