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

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-18T16:34:55.213Z
- Modified: 2026-09-28T17:10:42.435Z
- Also known as: GHSA-qg2g-g9w3-m5h8, GO-2026-6526
- Weaknesses: CWE-284, CWE-306
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- stacklok toolhive: < 0.30.1
- stacklok toolhive-studio: < 0.38.0
- github.com/stacklok/toolhive (Go): before 0.30.1

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://github.com/stacklok/toolhive/security/advisories/GHSA-qg2g-g9w3-m5h8> (exploit, advisory, web)
- <https://github.com/stacklok/toolhive-studio/pull/2469> (web)
- <https://github.com/stacklok/toolhive/pull/5583> (fix, web)
- <https://github.com/stacklok/toolhive-studio/commit/968182d7f3ee1e55123369e66ad88f82128119b0> (web)
- <https://github.com/stacklok/toolhive/commit/d8f40cb1599b8bf66657f2dfff15bfbfc236e712> (fix, web)
- <https://github.com/stacklok/toolhive-studio/releases/tag/v0.38.0> (web)
- <https://github.com/stacklok/toolhive/releases/tag/v0.30.1> (web)
- <https://github.com/stacklok/toolhive> (package)

## Sources

- CVE List: [CVE-2026-58197](https://www.cve.org/CVERecord?id=CVE-2026-58197), CVE Terms of Use, modified 2026-09-18
- GitHub Advisory Database: [GHSA-qg2g-g9w3-m5h8](https://github.com/advisories/GHSA-qg2g-g9w3-m5h8), CC-BY-4.0, modified 2026-09-28
- Go Vulnerability Database: [GO-2026-6526](https://pkg.go.dev/vuln/GO-2026-6526), CC-BY-4.0, modified 2026-09-28
- NVD: [CVE-2026-58197](https://nvd.nist.gov/vuln/detail/CVE-2026-58197), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-58197 · Whole record: https://cve.day/CVE-2026-58197.json · Rebuilt by cve.day 2026-11-25T22:59:39.629Z
