# CVE-2026-125121: compose-lint: Text in a pull request can still issue CI workflow commands through compose-lint 0.31.0's output

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2026-11-10T16:43:01.275Z
- Modified: 2026-11-12T22:18:51.470Z
- Also known as: GHSA-r7j4-crjv-h467
- Weaknesses: CWE-117, CWE-150
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. In version 0.31.0, compose-lint escapes GitHub Actions workflow-command openers only after ASCII spaces and tabs, while the runner strips all leading Unicode whitespace before interpreting a line. Untrusted Compose values or repository paths beginning with Unicode whitespace followed by :: can therefore reach the text report, fix guidance, the fix dry-run diff, and stderr diagnostics as workflow commands when the package, pre-commit hook, or Docker image runs directly in CI. The GitHub Action is not affected because it disables command processing, and the flaw does not change the lint pass or fail result. This issue is fixed in version 0.32.0.

(As written by CVE List.)

## Affected

- tmatens compose-lint: >= 0.31.0, < 0.32.0
- compose-lint (PyPI): from 0.31.0 before 0.32.0

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/tmatens/compose-lint/security/advisories/GHSA-r7j4-crjv-h467> (web)
- <https://github.com/tmatens/compose-lint/pull/945> (web)
- <https://github.com/tmatens/compose-lint/commit/542e63126f795564a65c63887ea0dc558a500688> (web)
- <https://github.com/advisories/GHSA-6f4g-xm8v-pgv6>
- <https://github.com/tmatens/compose-lint/releases/tag/v0.32.0> (web)
- <https://github.com/tmatens/compose-lint> (package)

## Sources

- CVE List: [CVE-2026-125121](https://www.cve.org/CVERecord?id=CVE-2026-125121), CVE Terms of Use, modified 2026-11-12
- GitHub Advisory Database: [GHSA-r7j4-crjv-h467](https://github.com/advisories/GHSA-r7j4-crjv-h467), CC-BY-4.0, modified 2026-11-11
- NVD: [CVE-2026-125121](https://nvd.nist.gov/vuln/detail/CVE-2026-125121), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-125121 · Whole record: https://cve.day/CVE-2026-125121.json · Rebuilt by cve.day 2026-11-25T22:59:49.792Z
