Vulnerability · Published Sep 18, 2026 · Assigned by GitHub_M

CVE-2026-58197ToolHive: containerized MCP servers can reach host services via host.docker.internal, enabling lateral movement

High 8.8

In plain English

A high-severity improper access control in toolhive from stacklok. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.4%top 68.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/stacklok/toolhive0.30.1GHSA-qg2g-g9w3-m5h8
Gogithub.com/stacklok/toolhive0.30.1GO-2026-6526

Affected products (as reported)

VendorProductVersions
stacklok toolhive < 0.30.1
stacklok toolhive-studio < 0.38.0

Weakness: CWE-284, CWE-306 · Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

References