CVE-2026-76095: MCP Gateway: Arbitrary host file read via `file://` server reference
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.43.1
Event History
Frequently Asked Questions
Which deployments are affected?
MCP Gateway versions 0.35.0 through 0.43.0 are affected. Version 0.43.1 contains the patch.
What does an attacker need to exploit this issue?
Exploitation requires a server reference beginning with file:// to be processed by the gateway. Such a reference can point to an arbitrary absolute path on the host.
What is the practical impact?
The gateway can read files from arbitrary absolute host paths rather than restricting file access to a project or working directory.