Skip to content

CVE-2026-123371 compose-lint: A `.compose-lint.yml` symlinked outside the project is read, and a parse error quotes part of the target

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.32.0, compose-lint automatically follows a .compose-lint.yml policy-file symbolic link outside the project and includes part of the target line when that external file fails YAML parsing. A pull request can point the policy file at a runner credential file, causing about 30 characters around an attacker-uncontrolled parse position to appear in standard error, JSON errors, and SARIF tool execution notifications uploaded by the GitHub Action. The run exits with an error and the attacker cannot select the exact disclosed line, but public logs or Code Scanning output can reveal part of the target. This issue is fixed in version 0.32.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 +42 more 0.32.0 Fixed
pypi compose-lint(PyPI) = 0.2.0; = 0.3.0; = 0.3.2; = 0.3.3 +43 more 0.32.0 Fixed
tmatens compose-lint(GitHub Actions) >= 0.2.0, <= 0.31.0 after 0.31.0 Fixed
tmatens compose-lint = >= 0.2.0, < 0.32.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi compose-lint(PyPI) >= 0.2.0, < 0.32.0 0.32.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.25.0 No fix listed
pypi compose-lint(PyPI) = 0.26.0 No fix listed
pypi compose-lint(PyPI) = 0.27.0 No fix listed
Show 70 more
ProductAffected versionsFixed in
pypi compose-lint(PyPI) = 0.28.0 No fix listed
pypi compose-lint(PyPI) = 0.29.0 No fix listed
pypi compose-lint(PyPI) = 0.3.0 No fix listed
pypi compose-lint(PyPI) = 0.3.2 No fix listed
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.30.0 No fix listed
pypi compose-lint(PyPI) = 0.31.0 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.32.0 0.32.0
github actions tmatens/compose-lint(GitHub Actions) = v0.31.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.30.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.29.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.28.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.27.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.26.0 No fix listed
github actions tmatens/compose-lint(GitHub Actions) = v0.25.0 No fix listed
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
tmatens compose-lint = >= 0.2.0, < 0.32.0 No fix listed
pypi compose-lint(PyPI) >= 0.2.0, <= 0.31.0 No fix listed
tmatens compose-lint(GitHub Actions) >= 0.2.0, <= 0.31.0 No fix listed

References