ToolHive: containerized MCP servers can reach host services via host.docker.internal, enabling lateral movement
Summary
| CVE | CVE-2026-58197 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-18 17:16:57 UTC |
| Updated | 2026-09-18 17:16:57 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 8.8 HIGH from [email protected]
CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS: 0.003600000 probability, percentile 0.298300000 (date 2026-09-20)
Problem Types: CWE-284 | CWE-306 | CWE-284 CWE-284: Improper Access Control | CWE-306 CWE-306: Missing Authentication for Critical Function
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 8.8 | HIGH | CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 8.8 | HIGH | CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
AdjacentAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
ChangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Stacklok | Toolhive | affected < 0.30.1 | Not specified |
| CNA | Stacklok | Toolhive-studio | affected < 0.38.0 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/stacklok/toolhive/security/advisories/GHSA-qg2g-g9w3-m5h8 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | |
| github.com/stacklok/toolhive-studio/pull/2469 | [email protected] | github.com | |
| github.com/stacklok/toolhive-studio/commit/968182d7f3ee1e55123369e66ad88... | [email protected] | github.com | |
| github.com/stacklok/toolhive/pull/5583 | [email protected] | github.com | |
| github.com/stacklok/toolhive/commit/d8f40cb1599b8bf66657f2dfff15bfbfc236... | [email protected] | github.com | |
| github.com/stacklok/toolhive/releases/tag/v0.30.1 | [email protected] | github.com | |
| github.com/stacklok/toolhive-studio/releases/tag/v0.38.0 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.