Skip to content

CVE-2026-123373 compose-lint: A committed symlink makes compose-lint quote a file from outside the project into its output

LowCVSS 2.3 EPSS 0.45%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Docker

Description

compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From 0.2.0 until 0.25.0, compose-lint follows a project-controlled symbolic link used as the Compose file outside the project. The same issue affects compose.override.yml and a COMPOSE_FILE entry from 0.22.0, and an env_file target from 0.23.0. If an external Compose-related target fails YAML parsing, the error quotes an attacker-uncontrolled line into standard error, JSON errors, and SARIF notifications, while an external env_file can expose credential-like key names through CL-0020 and CL-0021 findings. The attacker selects the target path but not the exact parser-failure line, values from env_file are not printed, and the pass or fail result is unchanged. This issue is fixed in version 0.25.0.

Upgrade path

4 packages: 3 fixed.

PackageAffectedFixed inStatus
github actions tmatens/compose-lint(GitHub Actions) = v0.2.0; = v0.3.0; = v0.3.1; = v0.3.2 +35 more 0.25.0 Fixed
pypi compose-lint(PyPI) = 0.2.0; = 0.3.0; = 0.3.2; = 0.3.3 +36 more 0.25.0 Fixed
tmatens compose-lint(GitHub Actions) >= 0.2.0, <= 0.24.0 after 0.24.0 Fixed
tmatens compose-lint = >= 0.2.0, < 0.25.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
tmatens compose-lint = >= 0.2.0, < 0.25.0 No fix listed
pypi compose-lint(PyPI) >= 0.2.0, < 0.25.0 0.25.0
pypi compose-lint(PyPI) = 0.10.0 No fix listed
pypi compose-lint(PyPI) = 0.11.0 No fix listed
pypi compose-lint(PyPI) = 0.12.0 No fix listed
pypi compose-lint(PyPI) = 0.12.1 No fix listed
pypi compose-lint(PyPI) = 0.12.2 No fix listed
pypi compose-lint(PyPI) = 0.13.0 No fix listed
pypi compose-lint(PyPI) = 0.14.0 No fix listed
pypi compose-lint(PyPI) = 0.14.1 No fix listed
pypi compose-lint(PyPI) = 0.15.0 No fix listed
pypi compose-lint(PyPI) = 0.15.1 No fix listed
pypi compose-lint(PyPI) = 0.15.2 No fix listed
pypi compose-lint(PyPI) = 0.16.0 No fix listed
pypi compose-lint(PyPI) = 0.17.0 No fix listed
pypi compose-lint(PyPI) = 0.18.0 No fix listed
pypi compose-lint(PyPI) = 0.19.0 No fix listed
pypi compose-lint(PyPI) = 0.2.0 No fix listed
pypi compose-lint(PyPI) = 0.20.0 No fix listed
pypi compose-lint(PyPI) = 0.21.0 No fix listed
pypi compose-lint(PyPI) = 0.22.0 No fix listed
pypi compose-lint(PyPI) = 0.23.0 No fix listed
pypi compose-lint(PyPI) = 0.24.0 No fix listed
pypi compose-lint(PyPI) = 0.3.0 No fix listed
pypi compose-lint(PyPI) = 0.3.2 No fix listed
Show 56 more
ProductAffected versionsFixed in
pypi compose-lint(PyPI) = 0.3.3 No fix listed
pypi compose-lint(PyPI) = 0.3.4 No fix listed
pypi compose-lint(PyPI) = 0.3.5 No fix listed
pypi compose-lint(PyPI) = 0.3.6 No fix listed
pypi compose-lint(PyPI) = 0.3.7 No fix listed
pypi compose-lint(PyPI) = 0.4.0 No fix listed
pypi compose-lint(PyPI) = 0.4.1 No fix listed
pypi compose-lint(PyPI) = 0.5.0 No fix listed
pypi compose-lint(PyPI) = 0.5.1 No fix listed
pypi compose-lint(PyPI) = 0.5.2 No fix listed
pypi compose-lint(PyPI) = 0.6.0 No fix listed
pypi compose-lint(PyPI) = 0.7.0 No fix listed
pypi compose-lint(PyPI) = 0.7.1 No fix listed
pypi compose-lint(PyPI) = 0.8.0 No fix listed
pypi compose-lint(PyPI) = 0.9.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) >= 0.2.0, < 0.25.0 0.25.0
github actions tmatens/compose-lint(GitHub Actions) = v0.24.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.23.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.22.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.21.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.20.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.19.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.18.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.17.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.16.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.15.2 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.15.1 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.15.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.14.1 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.14.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.13.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.12.2 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.12.1 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.12.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.11.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.10.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.9.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.8.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.7.1 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.7.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.6.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.5.2 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.5.1 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.5.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.4.1 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.4.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.3.7 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.3.6 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.3.4 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.3.3 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.3.2 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.3.1 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.3.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.2.0 No fix listed
pypi compose-lint(PyPI) >= 0.2.0, <= 0.24.0 No fix listed
tmatens compose-lint(GitHub Actions) >= 0.2.0, <= 0.24.0 No fix listed

References