Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain ability to submit server reference
-
DeliverySupply file:// pointing to sensitive absolute host path
-
ExploitGateway reads path verbatim via os.ReadFile
-
ExecutionContent reflected through validation
-
ImpactDisclose host file contents
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 | Requires that a file:// server reference be processed by the gateway (e.g. via profile/server management, catalog import, or the --server / --catalog flags), and that the attacker can influence the value of that reference - this maps to the PR:L in the CVSS vector, so it is not unauthenticated remote exploitation. Impact is further LIMITED to confidentiality: only files readable by the gateway process are exposed, and disclosure is bounded by the later content/extension validation that decides whether the file is accepted as a server definition. The advisory explicitly notes that whether untrusted imported content can reach this path 'depends on deployment,' so installations that only accept server references from trusted sources, or that run the gateway as a low-privilege user without read access to sensitive host files, materially reduce exposure. |
| Impact | This is a moderate, not emergency, priority. The CVSS 4.0 vector supplied (AV:L/AC:L/AT:N/PR:L/UI:N) scores 6.8 and describes a local, low-complexity flaw that requires some privilege (PR:L) - i.e. the ability to submit a server reference - and yields confidentiality impact only (VC:H, with VI/VA:N). This is consistent with CWE-22 and the GHSA advisory: an arbitrary host file read, no write or code-execution impact. No EPSS score, no CISA KEV listing, and no public exploit code are present in the input; the only references are the vendor advisory, fix PR #509, the patch commit, and the v0.43.1 release. The vuln.today decision label is 'this_month' (not act_now/emergency), which aligns with the absence of active-exploitation signals. One point to verify: the advisory itself states that whether untrusted imported content can reach the vulnerable path 'depends on deployment,' so real-world exploitability hinges on whether an attacker can control server references - the local vector (AV:L) and PR:L reflect that this is an operator/config-dependent read rather than remote unauthenticated. Net: a genuine confidentiality issue worth patching on a normal cycle, but not a widespread-exploitation emergency. |
| Exploit ScenarioDerived | An actor able to supply a server reference to the gateway (for example through profile/server management or imported catalog content) provides a value beginning with file:// pointing at a sensitive absolute host path such as /etc/shadow or a private key. The gateway's ResolveFile calls os.ReadFile on that path verbatim with no base-directory confinement, and content bounded by the later validation check is reflected back. No public exploit code is identified in the input; exploitation requires the ability to reach the server-reference processing path, which the advisory says depends on deployment. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Docker MCP Gateway versions 0.35.0 through 0.43.0 read a server reference beginning with file:// from an arbitrary absolute host path, with no confinement to a project or working directory, so a crafted reference causes the gateway to open files anywhere the process can read. Impact is confidentiality-only and bounded: disclosure depends on what the later content and extension validation reflects back when deciding whether the file qualifies as a server definition, and the attacker must be able to influence a file:// reference processed via profile or server management, catalog import, or the --server/--catalog and --additional-catalog flags (mapped to PR:L, not unauthenticated remote access). This is a moderate, not emergency, priority; no public exploit was identified and there is no CISA KEV confirmation, with the vendor-released fix in 0.43.1.
RemediationAI
Upgrade Docker MCP Gateway to version 0.43.1, the vendor-released patch (GHSA-6pq5-p7fc-7xhq; fix in PR 509), which restricts file:// server references and --catalog/--additional-catalog paths to resolve under ~/.docker/mcp/catalogs. If upgrading is not immediately possible, the vendor's stated workarounds are to accept server references only from trusted sources, so untrusted profile, catalog or --server inputs cannot supply a file:// value, and to run the gateway as a low-privilege user with no read access to sensitive host files, which caps exposure to files the process can open. Both workarounds depend on deployment: the advisory states that whether untrusted imported content can reach this code path is deployment-dependent, so review which interfaces feed server references before relying on trust assumptions alone.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MCP Gateway is Docker's Go-based tooling for running and deploying Model Context Protocol servers. Server sets can be assembled from URI-style references, and the resolver (ResolveServersFromString in workingset.go) dispatches any value prefixed with file:// to ResolveFile after stripping the prefix; ResolveFile then calls os.ReadFile on the resulting path verbatim. That is the root cause class CWE-22: the path is not canonicalized or checked against a base directory such as ~/.docker/mcp/catalogs, so an absolute path anywhere on the host is opened as a candidate server definition. A subsequent content and extension check limits whether the file is actually accepted, which constrains the confidentiality impact to what can be reflected back through that validation. The upstream fix (pull request 509, commit f46f70de) adds confinement semantics and rewrites the user-facing help text for --server, --catalog and --additional-catalog to state that file:// and catalog paths must resolve under ~/.docker/mcp/catalogs/. CPE data identifies docker:mcp-gateway across all platforms in the Go module range >=0.35.0 <0.43.1.
Know when Mcp Gateway 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:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Exploitation needs the ability to submit a server reference (PR:L) on a local/config path (AV:L), triggering an arbitrary file read with confidentiality-only impact, so I/A:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
MCP Gateway allows easy and secure running and deployment of MCP servers. From version 0.35.0 to before version 0.43.1, a server reference beginning with file:// is read from an arbitrary absolute host path with no confinement to a project/working directory. This issue has been patched in version 0.43.1.
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.
More in Mcp Gateway
View allDocker MCP Gateway versions 0.25.0 through 0.43.0 fail to install bearer-token authentication when running in container
Host-level root code execution is reachable in Docker MCP Gateway (from 0.9.3 up to, but not including, 0.43.1) when the
Docker MCP Gateway 0.4.1 through 0.43.0 pulls and executes MCP server container images without verifying their signature
DNS rebinding in Docker MCP Gateway 0.27.0 and earlier lets a malicious website reach MCP servers running behind the gat
Tool-name shadowing in Docker MCP Gateway 0.25.0 through 0.43.0 lets an untrusted backend MCP server that is aggregated
Server-side request forgery in Docker MCP Gateway (0.13.0 up to but not including 0.43.1) lets a server definition loade
EUVD-2026-141497
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB