CVE-2026-58197
HIGH 8.8CVSS 3.1ToolHive: containerized MCP servers can reach host services via host.docker.internal, enabling lateral movement
ToolHive is a utility designed to simplify the deployment and management of Model Context Protocol servers. Prior to ToolHive CLI 0.30.1 and ToolHive Studio 0.38.0, locally run MCP server containers use the default network permission profile without network isolation, permitting access to host.docker.internal while ToolHive API and MCP proxy endpoints are reachable without authentication. A malicious or compromised MCP server can use the Docker gateway to contact host-local services, other ToolHive-managed MCP proxies, or the ToolHive control plane without escaping the container. This access can expose data and logs, invoke sibling MCP tools, alter process or workload state, and disrupt services. ToolHive Studio additionally sends network_isolation as false and overrides the backend's secure isolation default. This issue is fixed in ToolHive CLI 0.30.1 and ToolHive Studio 0.38.0.
- Published
- 18 Sep 2026
- Last modified
- 28 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-284CWE-306
- Also known as
- GHSA-qg2g-g9w3-m5h8GO-2026-6526
- Sources
- NVDJSONOSV GHSA-qg2g-g9w3-m5h8JSONOSV GO-2026-6526JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/stacklok/toolhive | < 0.30.1 | 0.30.1 |
References
- https://github.com/stacklok/toolhive-studio/commit/968182d7f3ee1e55123369e66ad88f82128119b0 · WEB
- https://github.com/stacklok/toolhive-studio/pull/2469 · WEB
- https://github.com/stacklok/toolhive-studio/releases/tag/v0.38.0 · WEB
- https://github.com/stacklok/toolhive/commit/d8f40cb1599b8bf66657f2dfff15bfbfc236e712 · WEB, FIX
- https://github.com/stacklok/toolhive/pull/5583 · WEB, FIX
- https://github.com/stacklok/toolhive/releases/tag/v0.30.1 · WEB
- https://github.com/stacklok/toolhive/security/advisories/GHSA-qg2g-g9w3-m5h8 · WEB, ADVISORY
- https://github.com/stacklok/toolhive · PACKAGE
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 18 Sep 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Sep 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 Sep 2026)