CVE-2026-123796 · GitHub_M
compose-lint: Incomplete fix for GHSA-jf3h-8jvx-vcrg: a run stopped at the finding limit quotes a secret from a CI-generated `.env`
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.
Published 2026-11-09, last changed 2026-11-14. Weakness: CWE-200, CWE-532.
How to fix
Upgrade to a fixed version: compose-lint 0.33.0 (PyPI); tmatens/compose-lint 0.33.0 (GitHub Actions). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in tmatens/compose-lint by 31ec460399, pull request #978, 691e08bd18. Functions changed by the fix: FindingLimitError, __init__, run_rules. Regression tests: tests/test_finding_cap.py. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2026-11-09 | Published |
| 2026-11-10 | Package advisory GHSA-rm8w-w798-g545 |
| 2026-11-14 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 0.53% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-rm8w-w798-g545 | compose-lint (PyPI) | 0.33.0 |
| GHSA-rm8w-w798-g545 | tmatens/compose-lint (GitHub Actions) | 0.33.0 |
Also known as: GHSA-rm8w-w798-g545
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-125123 | 2026-11-10 | 2.3 | compose-lint: A file path in a pull request can issue CI workflow commands through compose-lint 0.31.0's command-line error messages |
| CVE-2026-125122 | 2026-11-10 | 2.3 | compose-lint: Text in a pull request can issue CI workflow commands through compose-lint 0.31.0's JSON and SARIF output on stdout |
| CVE-2026-125121 | 2026-11-10 | 5.3 | compose-lint: Text in a pull request can still issue CI workflow commands through compose-lint 0.31.0's output |
| CVE-2026-123373 | 2026-11-09 | 2.3 | compose-lint: A committed symlink makes compose-lint quote a file from outside the project into its output |
| CVE-2026-123372 | 2026-11-09 | 2.3 | compose-lint: A pull request can make compose-lint quote a secret from a CI-generated `.env` into its findings |
| CVE-2026-123371 | 2026-11-09 | 2.3 | compose-lint: A `.compose-lint.yml` symlinked outside the project is read, and a parse error quotes part of the target |
| CVE-2026-123370 | 2026-11-09 | 5.1 | compose-lint: `fix --apply` can delete a line the user did not select, including a security setting |
| CVE-2026-123369 | 2026-11-09 | 5.3 | compose-lint: Compose file text can issue GitHub Actions workflow commands through the compose-lint Action |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2026-123796, or call /api/v1/vulnerabilities/CVE-2026-123796. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.