Skip to main content
← Vulnerabilities

compose-lint: Incomplete fix for GHSA-jf3h-8jvx-vcrg: a run stopped at the finding limit quotes a secret from a CI-generated `.env`

2.3LowCNA
Exploited
No known exploitation
Fix
Fixed in 0.33.0
Who is exposed
Not reported

Do first: Upgrade to a fixed version: 0.33.0.

Published
Last modified
9/100 · provisional
None on Exploit-DB, Metasploit or GitHub

Summary

compose-lint, a Docker Compose security linter, can leak a secret value into its scan output when a run stops at the 20,000-finding limit, affecting versions from 0.32.0 up to 0.33.0. An attacker can exploit this remotely, without logging in, but only if a user takes action, such as a CI workflow linting an untrusted pull request that writes secrets into a sibling .env file, and the run needs a non-default setup to be affected.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

Read the original description

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.

cve.now Index

9Pcve.now Index 9 of 100 · methodology v3 · provisional
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure7/25Reachable over the network without a login · Unknown: No advisory context yet
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity2.3/10CVSS 2.3
  • No patch0/5No signal

What would change the score

  • Would score about 64 if added to CISA KEV
  • Would score about 59 if CISA's SSVC rates exploitation active
  • Would score about 24 if advisories confirm default setups are exposed

What to do

  • Upgrade to a fixed version: 0.33.0.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • tmatens compose-lint

    From 0.32.0 · fixed in 0.33.0

Evidence 4

  1. Advisory
  2. Repository
  3. Repository
  4. Repository

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

Questions about CVE-2026-123796

Is CVE-2026-123796 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data

Which versions are affected by CVE-2026-123796?

compose-lint: from 0.32.0 before 0.33.0.Source: cve.now feed data

How do I fix CVE-2026-123796?

Upgrade to a fixed version: 0.33.0.Source: cve.now feed data