Skip to main content

compose-lint CVE-2026-123796

| EUVDEUVD-2026-120157 LOW
Information Exposure (CWE-200)
2026-11-09 GitHub_M GHSA-rm8w-w798-g545
2.3
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Open malicious pull request
  2. Exploit
    Add ${SECRET} image field plus >20,000 aliased findings
  3. Execution
    Trigger finding-limit stop before reference quoting
  4. Impact
    Resolved secret leaks in JSON/SARIF/Code Scanning output

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a specific insecure deployment: a CI workflow that writes secrets into the .env sibling to the Compose file AND lints untrusted pull-request content in the same job (the advisory names pull_request_target that lints PR files). The attacker must submit a PR that both references a secret in a graded field (e.g. image: "${DB_PASSWORD}") and inflates the document past the 20,000-finding limit, which the advisory says a few hundred lines can do because an aliased list is graded once per service using it. Limiting factors: fork PRs normally run without secrets (so the common setup is not exposed); the leak only reaches durable artifacts via JSON, SARIF, or Code Scanning (the job log masks registered secrets); and the run exits 2 unless --allow-partial-coverage is set, though the output is already written by then. Workarounds per the advisory are running with --no-env or not writing secrets into the .env in a job that lints untrusted PRs; the complete fix is upgrading to 0.33.0.

Impact

All signals point to genuinely low priority, and they agree. The input CVSS 4.0 base score is 2.3 (vector AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N) - network-reachable but gated by a specific attack requirement (AT:P) and passive user interaction (UI:P), with only limited confidentiality impact (VC:L) and no integrity or availability impact. The vuln.today Decision label is 'monitor', the weakest urgency tier, consistent with the low score. KEV status is not indicated in the input (treat as not listed), and no EPSS score was provided, so no probabilistic exploitation signal is available. A public PoC reference exists - the GHSA advisory publishes a concrete reproduction recipe tested against the 0.32.0 PyPI wheel with a synthetic value - but it is not verified as working weaponized exploit code, and PoC availability must not be conflated with active exploitation. The real risk is further bounded because exploitation depends on an insecure CI configuration (secrets written into the sibling .env AND untrusted PR content linted in the same job, e.g. pull_request_target); the advisory notes fork PRs normally run without secrets, so the common/default setup is not exposed. Net: this is a low-CVSS, low-real-risk information-disclosure edge case in a niche tool, not an emergency. Note AT:P/UI:P reflect severity gating, not a described race or timing condition; the trigger mechanism is fully described (early-stop path emits findings before the reference-quoting step).

Exploit ScenarioDerived

In a CI workflow (e.g. pull_request_target) that writes secrets into a .env beside the Compose file and lints the pull request's files, an attacker opens a PR that changes a line to image: "${DB_PASSWORD}" and adds aliased content - a shared anchor such as ~200 port mappings reused across ~100 services - that pushes the document past 20,000 findings. Because the finding-limit stop is checked before resolved values are replaced with their ${NAME} references, the already-graded findings are emitted with the real secret value in text, JSON, SARIF, and Code Scanning output (GitHub masks secrets in the job log but not in uploaded JSON/SARIF artifacts). A tested reproduction recipe is published in the GHSA advisory, though it is not verified as weaponized exploit code.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

Secret disclosure in compose-lint 0.32.0 allows a pull request author to capture values that a CI job writes into the .env file sitting beside the Compose file. The 20,000-finding early-stop path is evaluated before resolved environment values are replaced with their ${NAME} references, so a document inflated past the limit (an aliased list graded once per service reaches it in a few hundred lines) is reported with the resolved secret still quoted in text, JSON, SARIF and the Code Scanning alerts built from them. The CVSS 4.0 vector marks it unauthenticated (PR:N) but exploitation requires a workflow that both writes secrets into the sibling .env and lints untrusted pull-request content, typically pull_request_target; the advisory notes fork pull requests normally run without secrets, the job log masks registered secrets while uploaded JSON/SARIF artifacts do not, and the run exits 2 unless --allow-partial-coverage is used, though output is written before that exit. No public exploit code was identified at time of analysis, all signals support a monitor priority, and the flaw is an incomplete fix for GHSA-jf3h-8jvx-vcrg that is resolved in 0.33.0.

RemediationAI

Upgrade to compose-lint 0.33.0, which quotes ${NAME} before the finding cap can return early (PR #978, commit 31ec460399e06e98aa0d1cc578368a1960a8a0b3). For each channel: pip install compose-lint==0.33.0; pin the GitHub Action to tag v0.33.0 or set the version input to 0.33.0; set pre-commit rev: v0.33.0; pull composelint/compose-lint:0.33.0 instead of :0.32 or :0.32.0. Where upgrading is not immediately possible, the vendor-listed workarounds are to run compose-lint with --no-env, which skips the sibling .env entirely and therefore removes the secret source (at the cost of losing any lint checks that depend on environment resolution), or to stop writing secrets into the .env beside the Compose file in any job that lints untrusted pull requests, which removes the precondition rather than the bug. Note that --allow-partial-coverage does not mitigate the flaw, since the unquoted findings are written before the process exits and are present with or without that flag. Details and release notes are at https://github.com/tmatens/compose-lint/security/advisories/GHSA-rm8w-w798-g545 and https://github.com/tmatens/compose-lint/releases/tag/v0.33.0.

Affected VersionsENISA

compose-lint 0.32.0, < 0.33.0

Affected Packages

pypi compose-lint fix: 0.33.0
pypi tmatens/compose-lint fix: 0.33.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

compose-lint is a Python-based Docker Compose linter that grades misconfigurations before deployment. Version 0.32.0 introduced two features that interact badly: a remediation for GHSA-jf3h-8jvx-vcrg that rewrites every finding so a value resolved from a sibling .env is quoted as its ${NAME} reference instead of its literal secret, and a per-document cap of MAX_FINDINGS = 20,000 enforced inside the rule engine (src/compose_lint/engine.py::run_rules). The cap check fires before the _quote_references() pass because that pass was placed after the limit branch, so the early-stop path returns findings that were graded but never quoted. The root cause class is exposure of sensitive information (CWE-200), with the log/output variant CWE-532 also assigned by the upstream advisory, since the same sink spills into job logs, JSON, SARIF and Code Scanning alert text. Reaching the limit is trivial for an attacker because an aliased YAML list is graded once for each service that anchors it, so a few hundred services plus one 200-entry aliased list crosses 20,000 findings. Combating this required moving the quoting step ahead of the raise; the upstream fix also corrects the stop message, which previously reported the limit rather than the actual number of graded findings. CPE cpe:2.3:a:tmatens:compose-lint covers the package lineage; the GitHub Action, pre-commit hook and Docker image wrap the same engine code and inherit the behavior.

Know when Docker gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 2.3 LOW
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.1 LOW

Attacker needs a specific insecure CI config plus a crafted document pushing past 20,000 findings (AC:H), triggered via an automated workflow (UI:R), leaking a single secret value (C:L) with no integrity or availability impact.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 09, 2026 - 19:02 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Low
pre-1.0 niche Docker Compose linter; limited, specialized CI footprint
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy