# CVE-2026-123369: compose-lint: Compose file text can issue GitHub Actions workflow commands through the compose-lint Action

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v4.0, GitHub) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Passive; Confidentiality impact: None; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: Low; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.53% (percentile 38, 2026-11-28)
- **CWE:** CWE-117, CWE-150
- **Aliases:** GHSA-6f4g-xm8v-pgv6
- **Published:** 2026-11-10T15:56:59.000Z
- **Modified:** 2026-11-10T15:57:12.000Z

## Who should check

- Projects that depend on GitHub Actions package tmatens/compose-lint (\>= 0.2.0, \<= 0.30.0)
- Projects that depend on PyPI package compose-lint (\<= 0.30.0)

## Description

\#\#\# Impact

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.

The exit code and the pass/fail result are not affected. Azure Pipelines parses the same \`\#\#\[\` syntax, so the pip package is listed for anyone printing the text report in other CI systems.

Found during an internal pre-1.0 security review.

\#\#\# Patches

Fixed in 0.31.0. The Action stops the runner from processing workflow commands while compose-lint's output is printed, using a random \`stop-commands\` token. The text report also escapes \`\#\#\[\`, and \`::\` at the start of a line, in anything taken from the Compose file.

\#\#\# Workarounds

- In your own workflow, wrap the compose-lint step in \`::stop-commands::\<random token\>\` and \`::\<random token\>::\`.
- Use \`--format json\` or \`--format sarif\` rather than the text report when linting untrusted pull requests.

\#\#\# Reproduction

\`\`\`yaml
services:
  web:
    image: "nginx:1.25"
    environment:
      "\#\#\[error\]DB\_PASSWORD": placeholder
  "\#\#\[group\]svc":
    image: "nginx:1.25"
    privileged: true
\`\`\`

Run through the Action, this produces a fake error annotation and folds the remaining log lines, including the FAIL verdict, into a collapsed group.

## Affected and fixed versions

- GitHub Actions `tmatens/compose-lint`: affected \>= 0.2.0, \<= 0.30.0; fixed 0.31.0 (ghsa)
- PyPI `compose-lint`: affected \<= 0.30.0; fixed 0.31.0 (ghsa)

## Technologies

GitHub Actions, PyPI packages

## Mitigation

- Upgrade tmatens/compose-lint to 0.31.0 or later.
- Upgrade compose-lint to 0.31.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-123369. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-123369.md
Affected: tmatens/compose-lint >= 0.2.0, <= 0.30.0; compose-lint <= 0.30.0
Fixed in: 0.31.0

Steps:
1. Search this machine and project for tmatens/compose-lint (GitHub Actions), compose-lint (PyPI): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-123369 being exploited?

There is no confirmed exploitation: CVE-2026-123369 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.53% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-123369?

Medium: CVSS 5.3 (v4.0, scored by GitHub). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-123369?

tmatens/compose-lint \>= 0.2.0, \<= 0.30.0; compose-lint \<= 0.30.0.

### Is there a fix for CVE-2026-123369?

Yes. Fixed in 0.31.0. Upgrade tmatens/compose-lint to 0.31.0 or later. Upgrade compose-lint to 0.31.0 or later.

### How do I check if I'm affected by CVE-2026-123369?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/tmatens/compose-lint/security/advisories/GHSA-6f4g-xm8v-pgv6>
- patch: <https://github.com/tmatens/compose-lint/pull/918>
- patch: <https://github.com/tmatens/compose-lint/commit/672bd11145621f787c295fb11f3a859cdec1b38d>
- other: <https://nvd.nist.gov/vuln/detail/CVE-2026-123369>
- other: <https://github.com/tmatens/compose-lint/releases/tag/v0.31.0>
- other: <https://github.com/advisories/GHSA-6f4g-xm8v-pgv6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-6f4g-xm8v-pgv6> (license: <https://creativecommons.org/licenses/by/4.0/>)
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-123369> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-123369>
