Skip to main content
CVE-2026-125123VulnerabilityPublished

compose-lint: File paths embedded

Affects compose-lintSource GCVE Database

0
Compare
Authoritative record:CVE-2026-125123· Low 2.3

Not known to be exploited · CVSS 2.3 Low : upgrade to 0.32.0 when convenient.

Data as of 11 Nov 2026, 02:32 UTC

CVSS 4.0 base score
2.3Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.02.3
Patch
Available – fixed in 0.32.0
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.

What to do

Upgrade compose-lint to 0.32.0.

Affected software

ProductAffectedFixed in
PyPIcompose-lintAffected
  • >=0.31.0 <0.32.0
  • =0.31.0
Fixed in
  • 0.32.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade compose-lint to version 0.32.0 or later, where the argument parser's error messages are properly sanitized. Alternatively, ensure that the pre-commit hook's 'args:' configuration ends with '--' and that '--' is used before file paths when calling compose-lint directly. For GitHub Actions, use the 'tmatens/compose-lint' Action or bracket the compose-lint step with '::stop-commands::<token>' and '::<token>::' to disable command processing around the run, as the official Action does. These mitigations prevent injection of workflow commands via error messages.

Description

compose-lint versions 0.31.0 up to but not including 0.32.0 contain a vulnerability where file paths embedded in pull requests can inject GitHub Actions workflow commands via command-line error messages. This occurs because the argument parser outputs unescaped repository paths in error messages, allowing specially crafted input to create annotations or manipulate job logs in CI workflows. The issue does not affect the pass/fail result of compose-lint runs. The vulnerability is fixed in version 0.32.0.

References

Community reviews

Loading reviews…