Skip to content
MediumVulnerability

CVE-2026-58196: ToolHive is a utility designed to simplify the deployment and management of Model Context Protocol (MCP) servers. Prior…

Identifier
CVE-2026-58196
Published
Record updated
View JSON
Affected
  • github.com/stacklok/toolhive < 0.31.0
Fixed in
0.31.0
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

ToolHive, a utility for deploying and managing MCP servers, is affected by CVE-2026-58196 before version 0.31.0. Authentication discovery in remote.Handler.Authenticate trusts server-supplied resource_metadata URLs and follows redirects without host, scheme or private-address restrictions. A malicious or compromised remote MCP server can thereby direct requests to link-local, RFC1918 or other internal services, reaching internal-only HTTP services and reachability oracles, and retrieving AWS metadata credentials where IMDSv1 accepts unauthenticated GETs.

Mitigation

Fixed in 0.31.0.