MCP Gateway: Arbitrary host file read via `file://` server reference
CVE-2026-76095Published 2 Dec 2026, 15:41 UTC
Real-world risk
3.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.8
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| mcp-gatewayNiche | >= 0.35.0, < 0.43.1 | 0.43.1 |
What to do
Update to a fixed version: 0.43.1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
The arithmetic
- Prerequisites multiplied together0.500
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.5 × threat 0.853.400
- Rounded to one decimal between 0.1 and 103.4
Exploitation and evidence timeline
- 2 Dec 2026 Published
- 2 Dec 2026 Risk 3.4 (cvss fallback)
Weakness
CWE-22
References
- https://github.com/docker/mcp-gateway/security/advisories/GHSA-6pq5-p7fc-7xhqvendor-advisory
- https://github.com/docker/mcp-gateway/pull/509misc
- https://github.com/docker/mcp-gateway/commit/f46f70dade118962a15bcdb55cfeb47c9d240b3fmisc
- http://github.com/docker/mcp-gateway/releases/tag/v0.43.1misc
- CVE-2026-76095 on CVE.org