# CVE-2026-125123: compose-lint: A file path in a pull request can issue CI workflow commands through compose-lint 0.31.0's command-line error messages

- Severity: Low 2.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/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.40%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-11-10T16:52:31.891Z
- Modified: 2026-11-12T22:18:51.470Z
- Also known as: GHSA-8v59-qmwv-4p6q
- Weaknesses: CWE-117, CWE-150
- SSVC (CISA-ADP): exploitation none, automatable no, 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's argument parser writes rejected repository paths to stderr without the output sanitizer when a path is passed without a preceding -- separator. A pull request can supply a path containing workflow-command syntax; a carriage return can position that command at the start of a new line recognized by the GitHub Actions runner, allowing the package, Docker image, or a pre-commit hook with misconfigured args to issue the command in the job log. The default pre-commit configuration includes -- and is not affected, the GitHub Action is not affected, and the lint pass or fail result is unchanged. This issue is fixed in version 0.32.0.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:4.0 2.3 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:P/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-8v59-qmwv-4p6q> (web)
- <https://github.com/tmatens/compose-lint/pull/945> (web)
- <https://github.com/tmatens/compose-lint/commit/542e63126f795564a65c63887ea0dc558a500688> (web)
- <https://github.com/tmatens/compose-lint/releases/tag/v0.32.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-125123> (advisory)
- <https://github.com/tmatens/compose-lint> (package)

## Sources

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

---

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