Description
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.
Severity (CVSS)
| Base score | 6.8 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- CWE-22 — CWE-22: Improper Limitation of a Pathname to a Restricted Directory
Affected products
| Vendor | Product | Versions |
|---|---|---|
| docker | mcp-gateway | >= 0.35.0, < 0.43.1 [affected] |
References
- https://github.com/docker/mcp-gateway/security/advisories/GHSA-6pq5-p7fc-7xhq (x_refsource_CONFIRM)
- https://github.com/docker/mcp-gateway/pull/509 (x_refsource_MISC)
- https://github.com/docker/mcp-gateway/commit/f46f70dade118962a15bcdb55cfeb47c9d240b3f (x_refsource_MISC)
- http://github.com/docker/mcp-gateway/releases/tag/v0.43.1 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 03 Dec 2026 08:05 UTC.