CVE-2026-123373: compose-lint: A committed symlink makes compose-lint quote a file from outside the project into its output
Published 2026-11-10 · Updated 2026-11-10 · Also known as GHSA-whr6-fgpq-fpv9
Summary
compose-lint up to 0.24.0 can follow committed symlinks to files outside the project, leaking file lines or key names into outputs. Engineering teams using affected versions on untrusted pull requests should update their dependencies immediately.
Who is affected
Affected deployments include GitHub Actions tmatens/compose-lint versions using tags v0.18.0 through v0.24.0, PyPI package versions 0.2.0 through 0.24.0, and Docker images 0.3.3 through 0.24.0. An attacker controlling a pull request can commit a symlink pointing to an external file such as compose files, override files, .env entries, or env_file targets, causing parse errors or linter rules to expose external file contents or key names in public job logs, JSON errors, or SARIF files.
Exploitability
The vulnerability has a low CVSS base score with vector 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, indicating network accessibility with low complexity but requiring specific attack preconditions and user interaction. The EPSS score is 0.005 and CISA Known Exploited Vulnerabilities status is no, meaning active exploitation is not documented.
Remediation
- Upgrade PyPI compose-lint and GitHub Actions tmatens/compose-lint to version 0.25.0 or later.
- Update Docker image composelint/compose-lint to version 0.25.0 or later.
- On older versions, avoid running compose-lint on untrusted pull requests or use the --no-env flag as a partial mitigation.
How to check your project
- Inspect project configuration files or CI workflows (e.g., GitHub Actions files) to check if the tmatens/compose-lint action or PyPI package version falls within 0.2.0 to 0.24.0.
- Examine Docker usage for composelint/compose-lint image tags 0.3.3 through 0.24.0.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| GitHub Actions | tmatens/compose-lint |
>= 0.2.0, < 0.25.0 | 0.25.0 | uses: tmatens/[email protected] |
| PyPI | compose-lint |
>= 0.2.0, < 0.25.0 | 0.25.0 | python -m pip install 'compose-lint>=0.25.0' |
CVSS 4.0 vector
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
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Attack requirements | Present |
| Privileges required | None |
| User interaction | Passive |
| Confidentiality (vulnerable system) | Low |
| Integrity (vulnerable system) | None |
| Availability (vulnerable system) | None |
| Confidentiality (subsequent systems) | None |
| Integrity (subsequent systems) | None |
| Availability (subsequent systems) | None |
Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.
FAQ
What versions of compose-lint are affected?
PyPI and GitHub Actions versions 0.2.0 through 0.24.0, and Docker image tags 0.3.3 through 0.24.0, are affected.
What information can an attacker read using this vulnerability?
An attacker can read a single line of an external file where a YAML parser fails (such as through a symlinked compose file, override file, or COMPOSE_FILE entry), or key names from a symlinked env_file target.
How was the vulnerability fixed?
It was fixed in version 0.25.0 by ensuring parse errors no longer quote source lines and refusing env_file targets and COMPOSE_FILE entries that resolve outside the project.
Original advisory description
References
- WEB https://github.com/tmatens/compose-lint/security/advisories/GHSA-whr6-fgpq-fpv9
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-123373
- WEB https://github.com/tmatens/compose-lint/pull/721
- WEB https://github.com/tmatens/compose-lint/commit/364814329417dbbc34d1ad2f3981f8a7a023799e
- PACKAGE https://github.com/tmatens/compose-lint
- WEB https://github.com/tmatens/compose-lint/releases/tag/v0.25.0
Source records: GHSA-whr6-fgpq-fpv9 (OSV.dev) · EPSS by FIRST, 2026-11-21.