Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessOpen fork pull request
-
DeliveryCommit .env symlink to /proc/self/environ
-
ExploitCI workflow runs compose-lint on untrusted PR
-
ExecutionVariable substitution reads process environment
-
ImpactEnvironment written to JSON/SARIF artifacts and Code Scanning alerts
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) a workflow that runs compose-lint on untrusted pull-request content, (2) the attacker committing a |
| Impact | This is a genuinely low-priority issue and the signals agree, with no conflict to flag. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P) scores only 2.3, and the vuln.today Decision label is 'monitor' - not act_now or emergency. It is NOT in CISA KEV (not confirmed actively exploited), and no EPSS probability was supplied, so widespread exploitation cannot be inferred from that signal either. The one component that raises real-world risk, AT:P, reflects a true dependency on the target environment: exploitation only yields something valuable when the CI job actually holds useful or secret data in its process environment. Confidentiality impact is explicitly low (VC:L, with VI/VA/SC/SI/SA all N) because GitHub normally withholds registered secrets from fork pull requests and masks them in the job log - so in the common fork-PR setup the attacker reads only runner metadata and unmasked values. The impact rises to meaningful only in non-default setups: a pull_request_target workflow that exposes secrets to untrusted PRs, a CI system that does not mask secrets, or any pipeline that uploads the JSON/SARIF artifacts (which are not masked) or surfaces Code Scanning alert text. Integrity is unaffected - the advisory is explicit that the pass/fail result does not change. Net: a real but narrow information-disclosure bug whose severity is correctly rated low; treat as monitor-and-patch, not an emergency. |
| Exploit ScenarioDerived | An attacker opens a fork pull request that adds a |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
Symlink-following in the sibling .env read of compose-lint 0.22.0 through 0.30.0 lets a pull request that is linted by CI substitute runner file or process-environment contents into finding messages, which are then written to the job log, JSON output, SARIF artifacts and Code Scanning alert text; from 0.28.0 the same missing containment check also applies to an include: entry's project_directory:. Disclosure only matters where the linting job's environment actually holds useful or secret data, since GitHub normally withholds registered secrets from fork pull requests and masks them in the job log, so the common setup leaks runner metadata and unmasked values only, and the pass/fail verdict is never changed. Exploitation requires the CI job to run the linter on untrusted PR content and the attacker to commit a symlinked .env (or directory symlink) plus a Compose file referencing a variable name from the link target; vendor-released patch 0.31.0 closes the gap, and no public exploit code or CISA KEV entry was identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade to compose-lint 0.31.0 (https://github.com/tmatens/compose-lint/releases/tag/v0.31.0), applying to the pip package, the actions/tmatens/compose-lint action reference, and any composelint/compose-lint image tag or digest pinned to 0.22.0-0.30.0 (including the 0.22-0.30 minor tags); after upgrading, an escaping .env is treated as a missing/unread input, an include: project_directory: resolving outside the project is refused with its files resolved against their own directories, and NUL-containing .env lines are skipped. If upgrading is not immediately possible, run compose-lint with --no-env, which skips the sibling .env entirely and removes the exposure, at the cost of not resolving ${VAR} references from that file; and do not run compose-lint against untrusted pull requests in a job whose environment holds secrets (for example a pull_request_target workflow), or on a CI system that does not mask secrets, or one that uploads raw JSON/SARIF artifacts, since Code Scanning alert text and uploaded artifacts are not covered by log masking. Detection details and the reproduction are in the advisory at https://github.com/tmatens/compose-lint/security/advisories/GHSA-6wcv-rj3c-mhv3 and the fix in https://github.com/tmatens/compose-lint/pull/917.
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
The flaw is a path-traversal class issue (CWE-22, with CWE-59 symlink-following also assigned in the GitHub advisory) in how compose-lint resolves the .env file it uses to fill ${VAR} references next to a Compose file. Per the project's own assurance documentation, document-supplied paths - env_file: targets and COMPOSE_FILE entries - pass a two-stage gate: a lexical containment test on what the path claims, then a containment test on what it actually resolves to, so a symlink cannot escape the project. The sibling .env read was never routed through that second, resolution-based check, so a .env committed as a symlink was opened wherever it pointed. Pointing it at /proc/self/environ is the sharpest variant because that pseudo-file separates variables with NUL bytes rather than newlines; parsed as a dotenv file the whole remainder of the process environment collapses into a single value, and compose-lint quotes substituted values inside finding messages (for example the CL-0004 "Image '...' has no tag" message), so the environment lands in logs and in machine-readable output. The pass/fail result is unaffected because only message text is contaminated. The upstream fix (PR 917, commit c43204a) adds a within project-directory parameter to read_env and read_text_bounded, raising OutsideProjectError so an escaping .env is treated as absent and reported as an unread input, refusing an include: project_directory: that resolves outside the project (its files then resolve against their own directories), and skipping any .env line containing a NUL byte. The affected code ships both as a Python package and inside the composelint/compose-lint Docker image.
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
Remotely triggerable via a fork PR (AV:N, PR:N) but AC:H because meaningful disclosure depends on the job holding useful/secret env data; UI:R for CI execution; read-only low confidentiality only, so C:L, I:N, A:N.
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.31.0, compose-lint follows a sibling .env symbolic link outside the project without applying its normal containment check. From 0.28.0, the same gap also affects an include project_directory link outside the project. A pull request can reference a variable from the linked file, causing substitution to place runner file or process-environment data into finding messages written to logs, JSON, SARIF artifacts, and Code Scanning alerts. Reading /proc/self/environ can expose the remainder of the linter process environment because NUL-separated entries are treated as one value, although disclosure requires a workflow that processes untrusted changes with useful environment data and GitHub normally withholds secrets from fork pull requests. The pass or fail result is not changed. This issue is fixed in version 0.31.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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
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-120123
GHSA-6wcv-rj3c-mhv3
NVD
CVE.org
EPSS
Exploit-DB