Skip to main content

compose-lint EUVDEUVD-2026-120129

| CVE-2026-123372 LOW
Information Exposure (CWE-200)
2026-11-09 GitHub_M GHSA-jf3h-8jvx-vcrg
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 pull request to target repo
  2. Delivery
    Change image field to ${SECRET_VAR}
  3. Exploit
    compose-lint resolves .env value into finding
  4. Execution
    Secret quoted in JSON/SARIF output
  5. Impact
    Read secret from Code Scanning alert

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 secret-bearing CI workflow that writes secrets into the .env file sibling to the Compose file AND then lints untrusted pull-request content - specifically a pull_request_target workflow, pull requests from branches in the same repository, or a self-hosted runner that retains a populated .env in the checkout. The attacker-controlled trigger is a PR that sets an image field to reference a secret variable, e.g. image: "${DB_PASSWORD}" or image: "nginx:${DB_PASSWORD}". Affected deliverables are compose-lint (pip) 0.22.0-0.31.0, composelint/compose-lint Docker image tags 0.22.0-0.31.0 plus matching minor tags and latest when the .env is mounted, and GitHub Action tags v0.22.0-v0.31.0 (plus earlier tags that install the newest release unless version: is pinned). Limiting factors: fork PRs normally run without secrets so the common setup is NOT exposed; the pass/fail result is unchanged; GitHub masks registered secrets in the job log (the leak persists only in JSON output, SARIF artifacts, and Code Scanning alert text); and --no-env fully mitigates. The complete fixes are upgrading to 0.32.0, running with --no-env, or not writing secrets into the .env in jobs that lint untrusted PRs.

Impact

This is a genuinely low-priority issue, and the multiple signals agree rather than conflict. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N) encodes low confidentiality impact with an attack requirement (AT:P) and passive user interaction (UI:P), the vuln.today Decision label is 'monitor', and there is no CISA KEV listing and no EPSS score supplied. The low score is justified by the narrow precondition: exploitation only works where a workflow writes secrets into the sibling .env and then lints untrusted pull-request content, which fork PRs (the common case) do not satisfy because they run without secrets. CWE-200/CWE-532 (information exposure via log/SARIF output) is the correct class - there is no code execution or integrity/availability impact. No EPSS or KEV data is present to indicate real-world targeting, and the advisory states this was found during an internal pre-1.0 review rather than in incident response, so treat this as a configuration-dependent secret-leak hardening fix, not an emergency. The one nuance worth verifying: AV:N reflects that malicious PR content arrives over the network, but the actual leak only materializes inside a specifically mis-configured CI pipeline - defenders should scope their exposure by their workflow configuration, not by the network vector alone.

Exploit ScenarioDerived

A repository runs a pull_request_target (or same-repo-branch, or self-hosted-runner) workflow that writes a secret such as DB_PASSWORD into a .env beside the Compose file, then runs compose-lint on the PR's content. An attacker opens a PR changing one line to image: "${DB_PASSWORD}"; compose-lint resolves the variable from the .env and quotes the secret's value into a CL-0004/CL-0019 finding, which lands in the JSON output, SARIF artifact, and Code Scanning alert text (GitHub masks it in the job log but not in those artifacts). The GHSA advisory includes concrete reproduction steps, so a public PoC reference exists; it is not verified as standalone working exploit code.

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

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

Alert me

AnalysisAIv1 – Nov 09, 2026

compose-lint 0.22.0 through 0.31.0 resolves ${VAR} references from the sibling .env into image: fields and then quotes the resolved value in CL-0004 and CL-0019 finding text and fix guidance, so a pull request that changes one line to image: "${DB_PASSWORD}" can pull a CI-written secret into the job log, JSON output, SARIF artifacts and Code Scanning alerts. The CVSS vectors list PR:N (no privileges required) with UI:P/UI:R (user interaction required), and the pass/fail outcome is unchanged; the leak only matters where a workflow writes secrets into the .env beside the Compose file and then lints untrusted PR content, such as a pull_request_target workflow, same-repository branch PRs, or a self-hosted runner that retains a populated .env. Scored low (CVSS 4.0 base 2.3; independent assessment CVSS 3.1 AV:N/AC:H/PR:N/UI:R/C:L) and tagged monitor, with no CISA KEV entry and no public exploit identified at time of analysis; fixed in 0.32.0.

RemediationAI

Vendor-released patch: compose-lint 0.32.0, which replaces the resolved .env value with the ${NAME} reference in finding text, fix guidance, JSON and SARIF (values shorter than eight characters are still shown as written, per docs/what-a-run-reads.md). Upgrade the pip package to 0.32.0 or later, repoint the GitHub Action to the fixed tag and pin its version: input so earlier action tags do not fall back to a newer, unpinned release, and pull the fixed composelint/compose-lint image tag rather than latest. Two vendor-documented workarounds exist where upgrading is not immediately possible: run with --no-env, which skips the sibling .env entirely and therefore stops resolving those values during linting (the trade-off is that findings depend on unsubstituted text), or stop writing secrets into the .env beside the Compose file in any job that lints untrusted pull requests, which removes the data the attacker is trying to surface. Note that GitHub's secret masking covers only the job log - JSON output, uploaded SARIF artifacts and Code Scanning alert text remain unmasked - so rotate any secret that is known to have been printed through those channels. Technical detail and fix references: https://github.com/tmatens/compose-lint/pull/944 and https://github.com/tmatens/compose-lint/commit/977da9724789264c2662afe47f79220e915442c2.

Affected VersionsENISA

compose-lint 0.22.0, < 0.32.0

Affected Packages

pypi compose-lint fix: 0.32.0
pypi tmatens/compose-lint fix: 0.32.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 emulates Docker Compose variable interpolation: values under environment: are deliberately never resolved from the sibling .env, but image: and other fields are. The root cause class is CWE-200 (exposure of sensitive information), with the advisory also tagging CWE-532 (insertion of sensitive information into log files): the CL-0004 and CL-0019 rules quote the resolved image string verbatim in their message and fix text, which is then serialized into text output, JSON, and the SARIF uploaded to Code Scanning. GitHub masks registered secrets in the job log but not in uploaded JSON/SARIF artifacts or Code Scanning alert text. The upstream fix threads a new env_values mapping through Document and Merged in src/compose_lint/_merge.py and through the CLI paths for check, fix and init, so findings quote the ${NAME} reference instead of the substituted value while the rules still grade the resolved value; per docs/what-a-run-reads.md the substitution-to-reference rewrite applies to values of eight or more characters, because shorter values (e.g. true, latest, 1000) are also terms used by the guidance itself. Affected identifiers include CPE cpe:2.3:a:tmatens:compose-lint and ENISA EUVD-2026-120129 with the range compose-lint 0.22.0, < 0.32.0. The flaw was found during an internal pre-1.0 security review.

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

AC:H and UI:R because the leak only fires in a specific secret-bearing CI configuration processing attacker PR content; PR:N as the attacker is an unauthenticated PR author; C:L, I/A:N for partial secret disclosure only.

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 - 18:02 EUVD

DescriptionCVE.org

compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From 0.22.0 until 0.32.0, compose-lint substitutes values from a sibling .env file into image fields and quotes the resolved value in CL-0004 and CL-0019 finding messages and fix text. In a workflow that writes secrets into that file and then lints untrusted pull-request content, an attacker can reference a secret variable so its whole value reaches the job log, JSON output, SARIF artifacts, and Code Scanning alerts. Fork pull requests normally lack secrets, so exploitation requires a secret-bearing workflow such as pull_request_target, same-repository branches, or a retained .env on a self-hosted runner, and the pass or fail result is unchanged. This issue is fixed in version 0.32.0.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Low
niche pre-1.0 Docker Compose linter, limited CI/CD adoption 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.4%
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