Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessOpen pull request to CI-linted repo
-
DeliveryCommit symlink named as Compose or env_file target
-
Exploitcompose-lint follows link and YAML parse fails
-
ExecutionFailing line or env key names quoted into log/JSON/SARIF
-
ImpactRead disclosed data from job log or Code Scanning
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
|
| Exploitation Conditions | Exploitation requires compose-lint to run on an attacker-authored, untrusted pull request in CI (GitHub Action tags v0.18.0-v0.24.0, composelint/compose-lint Docker tags 0.3.3-0.24.0, or a bare/pre-commit run) on a host whose filesystem outside the checkout holds sensitive files, and the repository's job log or Code Scanning output must be readable by the PR author (true for public repos). The attacker commits a project-controlled symlink under a name compose-lint reads: the Compose file itself (0.2.0-0.24.0), compose.override.yml or a COMPOSE_FILE entry in a sibling .env (0.22.0-0.24.0), or an env_file: target (0.23.0-0.24.0), pointing outside the project. Significant limiting factors sharply reduce impact: the attacker selects the target path but NOT the quoted line (it is wherever the YAML parser fails, so a credential is only leaked if a syntax error coincides with it); env_file values are never printed (only credential-like key names via CL-0020/CL-0021); a symlink to /proc/self/environ yielded nothing in testing; inside the Docker image only the container's own files and mounts are reachable; and the pass/fail result is unchanged. The --no-env flag closes the COMPOSE_FILE and env_file: routes but not the Compose-file route. |
| Impact | Real-world risk is low and the signals are consistent. The input CVSS 4.0 base score is 2.3 (Low) with a vector of AV:N/AC:L/AT:P/PR:N/UI:P and impact limited to VC:L (low confidentiality only; VI/VA/SC/SI/SA all N), and the vuln.today Decision label is 'monitor' - all pointing the same direction. The AT:P (attack requirement present) metric is consistent with the advisory's explicit statement that the attacker chooses the target path but NOT the exact line the YAML parser fails on, so the leaked content is attacker-uncontrolled and probabilistic. No EPSS score and no KEV status were provided in the input; absence of these is not evidence of either direction, but there is no signal of active exploitation. This is a high-visibility coordinated disclosure of a genuine but minor information-exposure bug (CWE-59 symlink following + CWE-209 error-message disclosure), not a high-CVSS/low-real-risk mismatch - the CVSS is correctly low and matches the mechanism. The GHSA advisory includes a reproduction section, so a public PoC reference exists; it is not verified as a working weaponized exploit, and PoC availability must not be conflated with active exploitation. Priority is routine patching, consistent with the 'monitor' decision. |
| Exploit ScenarioDerived | An attacker opens a pull request to a public repository whose CI runs compose-lint (GitHub Action, Docker image, or pre-commit), committing a symlink named like a Compose file (e.g. compose.yml) that points at a sensitive file on the CI runner such as /home/runner/.aws/credentials. When compose-lint follows the link and the YAML parser fails, the failing line is quoted into the job log, JSON errors[], and the SARIF toolExecutionNotifications uploaded to Code Scanning, where the PR author can read it. The GHSA advisory provides reproduction commands, so a public PoC reference exists, but it is not verified as working exploit code; the attacker cannot choose which line is quoted and env_file values are never printed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
compose-lint 0.2.0 through 0.24.0 follows a project-controlled symlink named as the Compose file - and, from 0.22.0, compose.override.yml or a COMPOSE_FILE entry in a sibling .env, and from 0.23.0 an env_file: target - so a pull request author can point the linter at a file outside the checkout and have one line of it quoted into stderr, JSON errors[] and the SARIF toolExecutionNotifications uploaded to Code Scanning, where that author can read it on a public repository. The disclosure is narrow: the attacker chooses the path but not the quoted line (it is wherever the YAML parser fails), env_file values are never printed (only credential-like key names via CL-0020/CL-0021), a symlink to /proc/self/environ yielded nothing in testing, and pass/fail results are unchanged. Scored CVSS 2.3 (assessed CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N), with a vuln.today decision label of monitor, no CISA KEV listing, and no confirmed working exploit code - the GitHub advisory publishes a reproduction recipe, which is not verified as working exploit code.
RemediationAI
Vendor-released patch: 0.25.0 - upgrade the compose-lint package to 0.25.0 or later, and note that 0.32.0 additionally closes the follow-on case where a symlinked Compose file whose target is itself a Compose file could still be read and its values reach findings. For GitHub Actions, move to a tag that ships 0.25.0 or later (Action tags v0.18.0-v0.24.0 bundle their own vulnerable version), and for containers pull composelint/compose-lint 0.25.0 or later instead of the 0.3.3-0.24.0 tags. Fix references: advisory https://github.com/tmatens/compose-lint/security/advisories/GHSA-whr6-fgpq-fpv9, PR https://github.com/tmatens/compose-lint/pull/721, commit https://github.com/tmatens/compose-lint/commit/364814329417dbbc34d1ad2f3981f8a7a023799e, release https://github.com/tmatens/compose-lint/releases/tag/v0.25.0. If upgrading is not immediately possible, the vendor's stated workaround is to avoid running compose-lint on untrusted pull requests on a machine whose files outside the checkout hold credentials; the --no-env flag closes the COMPOSE_FILE and env_file: routes but not the Compose-file, compose.override.yml routes, and its side effect is that environment-file analysis (including the CL-0020/CL-0021 findings that the env_file route abuses) is skipped. Running the linter inside the Docker image limits what a link can reach to the container's own files and explicit mounts, but does not fix the underlying defect; the vendor's complete fix is updating to 0.25.0 or later.
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 root cause is CWE-59 (improper link resolution) compounded by CWE-209 (generation of error messages containing sensitive information). Like Docker Compose, compose-lint reads project files through symlinks, but its project-containment guards in src/compose_lint/_selection.py and src/compose_lint/_service_env.py were deliberately lexical: they decided whether a path *says* it leaves the project, a property of the document that is identical on every platform (per the project's ADR-023). A committed link named like a project-relative document passes every lexical test while resolving to something like /home/runner/.aws/credentials. The disclosure channel is PyYAML: MarkedYAMLError.__str__ renders a snippet of the failing document under a caret, and that snippet flowed into errors[].message, SARIF toolExecutionNotifications and the job log, so a syntax error occurring on a credential-bearing line republished that line. The fix (PR 721, commit 3648143, release v0.25.0) adds a second, filesystem-level gate - escapes_project() using Path.resolve() and is_relative_to() - applied in read_text_bounded() via a 'within' argument, in _selection._resolve_entry() and in _service_env._classify(), refusing out-of-project COMPOSE_FILE entries and env_file targets with the existing outside-project note while still following symlinks that stay inside. It also replaces the PyYAML message with _describe_yaml_error(), keeping the diagnosis and line/column but dropping the quoted bytes. Attack path and prerequisites come from the vendor advisory; the assessed vector rates attack complexity High with user interaction required and limits impact to confidentiality, with no integrity or availability effect, and the supplied metrics do not themselves describe the trigger.
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 because the attacker cannot control which line the parser quotes; UI:R as a CI run must process the malicious PR; PR:N since any PR author qualifies; C:L only, no integrity or availability impact.
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.2.0 until 0.25.0, compose-lint follows a project-controlled symbolic link used as the Compose file outside the project. The same issue affects compose.override.yml and a COMPOSE_FILE entry from 0.22.0, and an env_file target from 0.23.0. If an external Compose-related target fails YAML parsing, the error quotes an attacker-uncontrolled line into standard error, JSON errors, and SARIF notifications, while an external env_file can expose credential-like key names through CL-0020 and CL-0021 findings. The attacker selects the target path but not the exact parser-failure line, values from env_file are not printed, and the pass or fail result is unchanged. This issue is fixed in version 0.25.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-120156
GHSA-whr6-fgpq-fpv9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB