Skip to main content

compose-lint EUVDEUVD-2026-120156

| CVE-2026-123373 LOW
Improper Link Resolution Before File Access (CWE-59)
2026-11-09 GitHub_M GHSA-whr6-fgpq-fpv9
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 CI-linted repo
  2. Delivery
    Commit symlink named as Compose or env_file target
  3. Exploit
    compose-lint follows link and YAML parse fails
  4. Execution
    Failing line or env key names quoted into log/JSON/SARIF
  5. Impact
    Read 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.5% 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.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

compose-lint 0.2.0, < 0.25.0

Affected Packages

pypi compose-lint fix: 0.25.0
pypi tmatens/compose-lint fix: 0.25.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

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

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 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.

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.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

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Low
niche pre-1.0 open-source Docker Compose linter, limited CI adoption
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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.5%
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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

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