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.
Affected products and versions
docker mcp-gateway>= 0.35.0, < 0.43.1
CVSS vector, explained
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
- Attack vector
- Local
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- Regular user
- User interaction
- Not required
- Confidentiality
- High impact
- Integrity
- None
- Availability
- None
Weakness type (CWE)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
- github.com/docker/mcp-gateway/security/advisories/GHSA-6pq5-p7fc-7xhq
- github.com/docker/mcp-gateway/pull/509
- github.com/docker/mcp-gateway/commit/f46f70dade118962a15bcdb55cfeb47c9d240b3f
- github.com/docker/mcp-gateway/releases/tag/v0.43.1
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.