# GO-2026-6526: ToolHive: containerized MCP servers can reach host services via host.docker.internal, enabling lateral movement in github.com/stacklok/toolhive

- Database: Go
- Published: 2026-09-28
- Modified: 2026-09-28

## Tracked as

- [CVE-2026-58197](https://cve.now/CVE-2026-58197.md): ToolHive: containerized MCP servers can reach host services via host.docker.internal, enabling lateral movement

## Also published as

- [GHSA-QG2G-G9W3-M5H8](https://cve.now/GHSA-QG2G-G9W3-M5H8.md) (GitHub)

## Affected versions

- github.com/stacklok/toolhive (Go): fixed in 0.30.1

## Description

ToolHive: containerized MCP servers can reach host services via host.docker.internal, enabling lateral movement in github.com/stacklok/toolhive

## References

- https://github.com/stacklok/toolhive/security/advisories/GHSA-qg2g-g9w3-m5h8
- https://github.com/stacklok/toolhive/commit/d8f40cb1599b8bf66657f2dfff15bfbfc236e712
- https://github.com/stacklok/toolhive/pull/5583
- https://github.com/stacklok/toolhive-studio/commit/968182d7f3ee1e55123369e66ad88f82128119b0
- https://github.com/stacklok/toolhive-studio/pull/2469
- https://github.com/stacklok/toolhive-studio/releases/tag/v0.38.0
- https://github.com/stacklok/toolhive/releases/tag/v0.30.1

Page: https://cve.now/GO-2026-6526

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
