Read the docs

compose-lint log injection via unsanitized paths in error output

Priority LOW 12CWE-117Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

compose-lint 0.31.0 and the PyPI compose-lint package from 0.31.0 before 0.32.0 are affected. The argument parser writes rejected repository paths to stderr without output sanitization (CWE-117), so control characters in a path can start a new line. A pull request can supply a crafted path that makes a GitHub Actions job log contain workflow commands when compose-lint runs with misconfigured arguments. The impact is low integrity loss, and no exploitation is reported.

Written with Claude Haiku 5.5 from the sources below · 2026-11-11

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00397 34th percentileScored 2026-11-16
Fix Fixed compose-lint (PyPI): 0.32.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
tmatenscompose-lint= 0.31.0—No fix listedCNA
—compose-lint (PyPI)0.31.0 to before 0.32.00.32.0Patch availableGHSA-8v59-qmwv-4p6q
  • compose-lint Vendortmatens Affected = 0.31.0 Fixed in — No fix listed CNA
  • compose-lint (PyPI) Vendor— Affected 0.31.0 to before 0.32.0 Fixed in 0.32.0 Patch available GHSA-8v59-qmwv-4p6q

Remediation

Upgrade the PyPI compose-lint package to version 0.32.0, which fixes this issue.

Written with Claude Haiku 5.5 from the sources below · 2026-11-11

  • Fix · GHSA-8v59-qmwv-4p6q compose-lint (PyPI) Fixed in 0.32.0 Advisory →

Timeline

  1. 2026-11-10 Threatist record created from CVE-2026-125123
  2. 2026-11-10 CISA SSVC decision points changed
  3. 2026-11-10 Alias added: GHSA-8v59-qmwv-4p6q
  4. 2026-11-10 Fix available: PyPI/[email protected] · GHSA-8v59-qmwv-4p6q
  5. 2026-11-10 CVSS score added · GHSA-8v59-qmwv-4p6q
  6. 2026-11-10 Weakness changed · GHSA-8v59-qmwv-4p6q
  7. 2026-11-10 6 new references · GHSA-8v59-qmwv-4p6q

References

  • TI-2026-87180 compose-lint fix --apply deletes unselected lines, including security settings CVSS 4.0MEDIUM 5.1
  • TI-2026-87186 Incomplete fix lets compose-lint leak .env secrets at finding limit CVSS 4.0LOW 2.3
  • TI-2026-87182 Secret values from a .env file leak into compose-lint findings CVSS 4.0LOW 2.3
  • TI-2026-87178 Symlink traversal in compose-lint can expose CI job environment data CVSS 4.0LOW 2.3
  • TI-2026-87874 compose-lint: Unicode whitespace lets PR text issue CI workflow commands CVSS 4.0MEDIUM 5.3
  • TI-2026-87179 Workflow command injection in compose-lint Action output CVSS 4.0MEDIUM 5.3
See all 11 →

Sources