Quick answers
- Is CVE-2026-125123 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-125123 being exploited in the wild.
- How severe is CVE-2026-125123?
- Medium severity, with a CVSS score of 4, published 10 November 2026.
- Which products and versions are affected?
- compose-lint (PyPI) = 0.31.0, ECOSYSTEM:introduced=0.31.0,fixed=0.32.0; Tmatens Compose-Lint 0.31.0.
- Is there a fix for CVE-2026-125123?
- Yes. compose-lint (PyPI): upgrade to 0.32.0 or later. Until then: The default pre-commit configuration includes the -- separator and is unaffected; use that configuration or ensure the -- separator is always provided when invoking compose-lint. The GitHub Action is not affected and requires no changes.</anigation> <parameter name="timeline">[{"kind": "disclosed", "at": "2026-11-10"}, {"kind": "patched", "at": "2026-09-28"}] Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-125123 attacked?
- It is attacked over the network.
- Am I affected by CVE-2026-125123?
- Check whether you run compose-lint (PyPI) or Tmatens Compose-Lint at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- compose-lint (PyPI): upgrade to 0.32.0 or later
pip install "compose-lint>=0.32.0"
The default pre-commit configuration includes the -- separator and is unaffected; use that configuration or ensure the -- separator is always provided when invoking compose-lint. The GitHub Action is not affected and requires no changes.</anigation> <parameter name="timeline">[{"kind": "disclosed", "at": "2026-11-10"}, {"kind": "patched", "at": "2026-09-28"}]
Technical details
The vulnerability is a command injection issue in compose-lint's argument parser (CWE-94). When repository paths are passed without a -- separator, the parser writes rejected paths to stderr without sanitizing GitHub Actions workflow-command syntax (##[...] and ##vso[). An attacker can craft a path containing carriage returns and workflow commands to execute arbitrary commands in the GitHub Actions runner. The vulnerability requires the package to be invoked with unsanitized user input, which is not the case in the default pre-commit configuration or official GitHub Action.
Affected products
- tmatens compose-lint 0.31.0
Identifiers
- CVE-2026-125123
- GHSA-8v59-qmwv-4p6q