Skip to main content

Docker MCP Gateway CVE-2026-76095

| EUVDEUVD-2026-141497 MEDIUM
Path Traversal (CWE-22)
2026-12-02 GitHub_M
6.8
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain ability to submit server reference
  2. Delivery
    Supply file:// pointing to sensitive absolute host path
  3. Exploit
    Gateway reads path verbatim via os.ReadFile
  4. Execution
    Content reflected through validation
  5. Impact
    Disclose 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

mcp-gateway 0.35.0, < 0.43.1

Affected Packages

euvd mcp_gateway fix: 0.43.1

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

Vendor (GitHub_M) PRIMARY 6.8 MEDIUM
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
vuln.today AI 5.5 MEDIUM

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.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
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
Dec 02, 2026 - 17:03 EUVD

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

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Low
emerging MCP developer tooling; not yet a broad enterprise deployment footprint
Data Quality
4 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy