All vulnerabilities

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
Weakness
CWE-117CWE-150
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.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

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.
Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
compose-lintPyPI · osv:PyPI:compose-lint
  • Every version before 0.31.0

About compose-lint

Weekly downloads (PyPI)
2,476PyPI Stats, 24 Nov 2026

References