PyPI
CVE-2026-123373
compose-lint: A committed symlink makes compose-lint quote a file from outside the project into its output
- Severity
- Low
- Published
- 10 Nov 2026
- Last changed
- 10 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 0.25.0
- Exploit chance
- 0.5% in the next 30 daysHigher than 39% of CVEs. EPSS by FIRST, 24 Nov 2026
- Also known as
- GHSA-whr6-fgpq-fpv9
- Sources
- OSV.dev and GitHub
Description
Like Docker Compose, compose-lint follows symlinks when it reads a project's files. Unlike Compose, compose-lint up to 0.24.0 could then put the contents of a file from outside the project into its output, where the author of a pull request can read it.
A pull request can commit a symlink, under a name compose-lint reads, pointing at a file on the CI runner:
- The Compose file itself (0.2.0–0.24.0). A compose.yml that is a symlink, whether the pre-commit hook passes its name or the Action or a bare run finds it.
- compose.override.yml (0.22.0–0.24.0), which compose-lint merges automatically.
- A COMPOSE_FILE entry (0.22.0–0.24.0) in a .env beside the Compose file.
When the target is not valid YAML, the parse error quotes the line it failed on. Docker Compose, given the same file, reports only a line number. That line reaches standard error (the job log), JSON errors[], and the SARIF toolExecutionNotifications, which the Action uploads to Code Scanning.
Workarounds
- Upgrade to 0.25.0 or later.
- On older versions, don't run compose-lint on untrusted pull requests on a machine whose files outside the checkout hold credentials. --no-env closes the COMPOSE_FILE and env_file: routes, but not the others.
Affected software
| Software | Affected versions |
|---|---|
compose-lintPyPI · osv:PyPI:compose-lint |
|
About compose-lint
- Weekly downloads (PyPI)
- 2,476PyPI Stats, 24 Nov 2026
Vulnerabilities in compose-lint
- In our list
- 10
- Published in the last 12 months
- 10
- Critical, last 12 months
- 0
- High, last 12 months
- 0
- Known exploited
- 0
- CVE-2026-125123compose-lint: File paths embedded in pull requests can inject CI workflow commands through command-line error messagesLow 10 Nov 2026
- CVE-2026-125122compose-lint: Text in a pull request can issue CI workflow commands through JSON and SARIF output on stdoutLow 10 Nov 2026
- CVE-2026-125121compose-lint: Text in a pull request can still issue CI workflow commands through compose-lint 0.31.0's outputMedium 10 Nov 2026
- CVE-2026-123796compose-lint: Incomplete fix for GHSA-jf3h-8jvx-vcrg: a run stopped at the finding limit quotes a secret from a CI-generated `.env`Low 10 Nov 2026
- CVE-2026-123371compose-lint: A `.compose-lint.yml` symlinked outside the project is read, and a parse error quotes part of the targetLow 10 Nov 2026
- CVE-2026-123372compose-lint: A pull request can make compose-lint quote a secret from a CI-generated `.env` into its findingsLow 10 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-123373
- GitHub Advisory Database https://github.com/advisories/GHSA-whr6-fgpq-fpv9