Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessOpen pull request to target repo
-
DeliveryChange image field to ${SECRET_VAR}
-
Exploitcompose-lint resolves .env value into finding
-
ExecutionSecret quoted in JSON/SARIF output
-
ImpactRead 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. |
| 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
EUVD-2026-120129
GHSA-jf3h-8jvx-vcrg
NVD
CVE.org
EPSS
Exploit-DB