Quick answers
- Is CVE-2026-58197 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-58197 being exploited in the wild.
- How severe is CVE-2026-58197?
- High severity, with a CVSS score of 8.8, published 18 September 2026.
- Which products and versions are affected?
- github.com/stacklok/toolhive (Go) < 0.30.1, SEMVER:introduced=0,fixed=0.30.1.
- Is there a fix for CVE-2026-58197?
- Yes. github.com/stacklok/toolhive (Go): upgrade to 0.30.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-58197 attacked?
- It is attacked over the network, in a hosted service.
- Am I affected by CVE-2026-58197?
- Check whether you run github.com/stacklok/toolhive (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- github.com/stacklok/toolhive (Go): upgrade to 0.30.1 or later
go get github.com/stacklok/toolhive@v0.30.1
Technical details
The vulnerability is a combination of three design weaknesses: (1) the default `insecure_allow_all: true` permission profile permits unrestricted outbound connections, (2) ToolHive's MCP proxy endpoints (port 50444 and others) lack authentication, and (3) Docker's host.docker.internal DNS resolves to the host machine, allowing containers to reach localhost services. An attacker with code execution inside a container can perform MCP handshakes with the host's ToolHive API and other MCP server proxies, enumerate and call their tools (e.g., execute_command, write_file), pivot to privileged native MCP servers, or reach other host services like Kubernetes APIs or LLM endpoints. No container escape or additional vulnerability is required; network access alone is sufficient for lateral movement and privilege escalation.
Affected products
- ToolHive ToolHive v0.9.3 and default configuration
Identifiers
- CVE-2026-58197
- GHSA-qg2g-g9w3-m5h8
- GO-2026-6526
Timeline
- 2026-09-18: disclosed: Advisory published on GitHub
- 2026: other: CVE-2026-58197 assigned