Read the docs

compose-lint quotes external file lines through symbolic links

Priority LOW 12CWE-209Published · Updated

Key facts

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

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-209.

Summary

compose-lint, a Docker Compose linter, follows project-controlled symbolic links to Compose files outside the project from 0.2.0 before 0.25.0. Override files from 0.22.0 and env_file targets from 0.23.0 are also affected. When an external file fails YAML parsing, the error quotes an attacker-uncontrolled line into standard error, JSON and SARIF output (CWE-209). An attacker who commits the link chooses the target path, and the pass or fail result stays unchanged.

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. From 0.2.0 until 0.25.0, compose-lint follows a project-controlled symbolic link used as the Compose file outside the project. The same issue affects compose.override.yml and a COMPOSE_FILE entry from 0.22.0, and an env_file target from 0.23.0. If an external Compose-related target fails YAML parsing, the error quotes an attacker-uncontrolled line into standard error, JSON errors, and SARIF notifications, while an external env_file can expose credential-like key names through CL-0020 and CL-0021 findings. The attacker selects the target path but not the exact parser-failure line, values from env_file are not printed, and the pass or fail result is unchanged. This issue is fixed in version 0.25.0.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00452 39th percentileScored 2026-11-16
Fix Fixed compose-lint (tmatens): 0.25.0compose-lint (PyPI): 0.25.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-lint0.2.0 to before 0.25.00.25.0Patch availableCNA
—compose-lint (PyPI)0.2.0 to before 0.25.00.25.0Patch availableGHSA-whr6-fgpq-fpv9
—tmatens/compose-lint (GitHub Actions)0.2.0 to before 0.25.00.25.0Patch availableGHSA-whr6-fgpq-fpv9
  • compose-lint Vendortmatens Affected 0.2.0 to before 0.25.0 Fixed in 0.25.0 Patch available CNA
  • compose-lint (PyPI) Vendor— Affected 0.2.0 to before 0.25.0 Fixed in 0.25.0 Patch available GHSA-whr6-fgpq-fpv9
  • tmatens/compose-lint (GitHub Actions) Vendor— Affected 0.2.0 to before 0.25.0 Fixed in 0.25.0 Patch available GHSA-whr6-fgpq-fpv9

Remediation

Update compose-lint to version 0.25.0, which fixes the tmatens compose-lint release, the PyPI package compose-lint and the tmatens/compose-lint GitHub Action.

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

  • Fix · CNA compose-lint (tmatens) Fixed in 0.25.0
  • Fix · GHSA-whr6-fgpq-fpv9 compose-lint (PyPI) Fixed in 0.25.0 Advisory →
  • Fix · GHSA-whr6-fgpq-fpv9 tmatens/compose-lint (GitHub Actions) Fixed in 0.25.0 Advisory →

Timeline

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

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