Read the docs

Incomplete fix lets compose-lint leak .env secrets at finding limit

Priority MEDIUM 45CWE-200Published · 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-200.

Summary

compose-lint from 0.32.0 before 0.33.0 checks the 20,000-finding limit before it replaces resolved values with their variable references. When a pull request combines a secret-referencing image field with aliased content that produces more than 20,000 findings, the early-stop path emits already graded findings that contain the resolved secret value in text, JSON, SARIF, and Code Scanning output. Exploitation requires a workflow that writes secrets into the sibling .env and lints untrusted changes, and the run exits 2 unless --allow-partial-coverage is used. The weaknesses are CWE-200 and CWE-532.

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

Description from the CNA

compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From 0.32.0 until 0.33.0, compose-lint's incomplete remediation for .env secret disclosure checks the 20,000-finding limit before replacing resolved values with their variable references. A pull request can combine a secret-referencing image field with aliased content that produces more than 20,000 findings, causing the early-stop path to emit already graded findings with the resolved secret value in text, JSON, SARIF, and Code Scanning output. Exploitation requires a workflow that writes secrets into the sibling .env and lints untrusted changes, and the run exits 2 unless --allow-partial-coverage is used. This issue is fixed in version 0.33.0.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00304 23rd percentileScored 2026-11-16
Fix Fixed compose-lint (tmatens): 0.33.0compose-lint (PyPI): 0.33.0+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
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.32.0 to before 0.33.00.33.0Patch availableCNA
—compose-lint (PyPI)0.32.0 to before 0.33.00.33.0Patch availableGHSA-rm8w-w798-g545
—tmatens/compose-lint (GitHub Actions)0.32.0 to before 0.33.00.33.0Patch availableGHSA-rm8w-w798-g545
  • compose-lint Vendortmatens Affected 0.32.0 to before 0.33.0 Fixed in 0.33.0 Patch available CNA
  • compose-lint (PyPI) Vendor— Affected 0.32.0 to before 0.33.0 Fixed in 0.33.0 Patch available GHSA-rm8w-w798-g545
  • tmatens/compose-lint (GitHub Actions) Vendor— Affected 0.32.0 to before 0.33.0 Fixed in 0.33.0 Patch available GHSA-rm8w-w798-g545

Remediation

Upgrade compose-lint to version 0.33.0, which fixes the issue for the PyPI package and the GitHub Actions package.

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

  • Fix · CNA compose-lint (tmatens) Fixed in 0.33.0
  • Fix · GHSA-rm8w-w798-g545 compose-lint (PyPI) Fixed in 0.33.0 Advisory →
  • Fix · GHSA-rm8w-w798-g545 tmatens/compose-lint (GitHub Actions) Fixed in 0.33.0 Advisory →

Timeline

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

References

  • TI-2026-87180 compose-lint fix --apply deletes unselected lines, including security settings CVSS 4.0MEDIUM 5.1
  • 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
  • TI-2026-87879 Output from compose-lint can issue Azure Pipelines logging commands CVSS 4.0LOW 2.3
See all 11 →

Sources