Read the docs

Workflow command injection in compose-lint Action output

Priority LOW 24CWE-117Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
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, a Docker Compose security linter, prints attacker-controlled Compose text such as service names, environment keys and file lines without neutralizing GitHub Actions and Azure Pipelines workflow-command openers. When a CI workflow processes a pull request, a crafted Compose file can issue workflow commands that create false annotations, hide log regions or mask strings, and an unauthenticated remote attacker who can submit a pull request can trigger this with user interaction. The affected report paths do not change the exit code or pass or fail result, but they can misrepresent CI output to reviewers. The flaw is classified as CWE-117.

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

Description from the CNA

compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. Prior to 0.31.0, compose-lint prints attacker-controlled service names, environment keys, file lines, and other Compose text without neutralizing GitHub Actions and Azure Pipelines workflow-command openers. When a workflow processes a pull request, legacy ##[ commands or a line-leading double-colon command can create false annotations, hide log regions, mask selected strings, or invoke other commands recognized by the runner. The affected text report paths do not alter the compose-lint exit code or pass or fail result, but they can misrepresent the CI output presented to reviewers. This issue is fixed in version 0.31.0.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0038 32nd percentileScored 2026-11-16
Fix Fixed compose-lint (tmatens): 0.31.0tmatens/compose-lint (GitHub Actions): 0.31.0+1 more product

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-lintbefore 0.31.00.31.0Patch availableCNA
—tmatens/compose-lint (GitHub Actions)0.2.0 to before 0.31.00.31.0Patch availableGHSA-6f4g-xm8v-pgv6
—compose-lint (PyPI)before 0.31.00.31.0Patch availableGHSA-6f4g-xm8v-pgv6
  • compose-lint Vendortmatens Affected before 0.31.0 Fixed in 0.31.0 Patch available CNA
  • tmatens/compose-lint (GitHub Actions) Vendor— Affected 0.2.0 to before 0.31.0 Fixed in 0.31.0 Patch available GHSA-6f4g-xm8v-pgv6
  • compose-lint (PyPI) Vendor— Affected before 0.31.0 Fixed in 0.31.0 Patch available GHSA-6f4g-xm8v-pgv6

Remediation

Upgrade compose-lint to version 0.31.0, which fixes the issue for the tmatens compose-lint package, the tmatens/compose-lint GitHub Action from 0.2.0 before 0.31.0, and the PyPI compose-lint package from 0 before 0.31.0. The sources list no fixed version for Azure Pipelines.

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

  • Fix · CNA compose-lint (tmatens) Fixed in 0.31.0
  • Fix · GHSA-6f4g-xm8v-pgv6 tmatens/compose-lint (GitHub Actions) Fixed in 0.31.0 Advisory →
  • Fix · GHSA-6f4g-xm8v-pgv6 compose-lint (PyPI) Fixed in 0.31.0 Advisory →

Timeline

  1. 2026-11-09 Threatist record created from CVE-2026-123369
  2. 2026-11-09 CISA SSVC decision points changed
  3. 2026-11-10 Alias added: GHSA-6f4g-xm8v-pgv6
  4. 2026-11-10 Fix available: GitHub Actions/tmatens/[email protected], PyPI/[email protected] · GHSA-6f4g-xm8v-pgv6
  5. 2026-11-10 CVSS score added · GHSA-6f4g-xm8v-pgv6
  6. 2026-11-10 Weakness changed · GHSA-6f4g-xm8v-pgv6
  7. 2026-11-10 6 new references · GHSA-6f4g-xm8v-pgv6

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-87879 Output from compose-lint can issue Azure Pipelines logging commands CVSS 4.0LOW 2.3
See all 11 →

Sources