PyPI
CVE-2026-123369
compose-lint: Compose file text can issue GitHub Actions workflow commands through the compose-lint Action
- Severity
- Medium 4.3
- Published
- 10 Nov 2026
- Last changed
- 11 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 0.31.0
- Exploit chance
- 0.4% in the next 30 daysHigher than 35% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · No login needed · Needs someone to click or open something
- Attacker can
- Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N- Also known as
- GHSA-6f4g-xm8v-pgv6
- Sources
- OSV.dev and GitHub
Description
The GitHub Actions runner treats certain text in a step's output as commands. The legacy form, ##[command], is recognized anywhere in a line. compose-lint's text report prints service names, environment keys and lines of the Compose file, and it does not neutralize ##[. Inside the compose-lint Action, a Compose file from a pull request can therefore:
- create fake error or warning annotations on the pull request (##[error], ##[warning])
- fold the rest of the log, including the real verdict, out of sight (##[group])
- blank out chosen strings for the rest of the log (##[add-mask])
GitHub has postponed removing the deprecated set-output log command, so the runner still honors it. A test run of the Action on a GitHub-hosted runner confirmed that a ::set-output line from a Compose file is processed. Whether it can override the Action's own sarif-written output, which decides whether the SARIF upload step runs, has not been tested.
Workarounds
- In your own workflow, wrap the compose-lint step in ::stop-commands:: and ::::.
- Use --format json or --format sarif rather than the text report when linting untrusted pull requests.
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-123373compose-lint: A committed symlink makes compose-lint quote a file from outside the project into its outputLow 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
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-123369
- GitHub Advisory Database https://github.com/advisories/GHSA-6f4g-xm8v-pgv6