ToolHive is a utility designed to simplify the deployment and management of Model Context Protocol (MCP) servers. Prior to 0.31.0, remote.Handler.Authenticate in pkg/auth/remote/handler.go invokes discovery.DetectAuthenticationFromServer in pkg/auth/discovery/discovery.go, whose host-side HTTP clients trust remote-server-controlled authentication discovery destinations, follow redirects without host or scheme restrictions, and do not consistently block private addresses. A malicious or compromised remote MCP server can place a resource_metadata URL in WWW-Authenticate for ParseWWWAuthenticate to extract, after which FetchResourceMetadata, OIDC issuer discovery, and well-known discovery can issue GET requests to link-local, RFC1918, or other internal services outside the server's container. The user connects to a server that the user intends to use, but the server controls the internal destination; this path does not depend on the separate NAT64 guard omission because the affected clients did not invoke IsPrivateIP, and it differs from the DCR resolver path that already refused redirects. The demonstrated primitive reaches internal-only HTTP services and reachability or error oracles, and can retrieve AWS metadata credentials where IMDSv1 accepts an unauthenticated GET, while IMDSv2 and GCP metadata prerequisites are not satisfied by the demonstrated request. This vulnerability is fixed in 0.31.0.
CVE-2026-58196
This medium-severity CVE scores 4.7 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.4%, top 69% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 4.7
- EG Score
- 4.7(medium)
- EG Risk
- 37(Track)EG Risk 37/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity47% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 31%
- KEV
- Not listed
Published
July 15, 2026
Last Modified
September 15, 2026
Advisory Details (3)
Auto-updated Sep 15, 2026v0.31.0
Patch available: stacklok/toolhive v0.31.0
https://github.com/stacklok/toolhive/releases/tag/v0.31.0commit 4ea6afb9048d (stacklok/toolhive)
Fix landed in stacklok/toolhive commit 4ea6afb9048d — awaiting tagged release
https://github.com/stacklok/toolhive/commit/4ea6afb9048ddec1d56875fa9e0da36d65c15966SSRF in remote MCP server authentication discovery (host-side, bypasses container isolation) · Advisory · stacklok/toolhive · GitHub
https://github.com/stacklok/toolhive/security/advisories/GHSA-pr64-jmmf-jp54Vendor Advisories for CVE-2026-58196(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| github.com/stacklok/toolhive | — | 0.31.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 9× in last 7d / 9× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-20 20:16 UTCEPSS rescore
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 04:42 UTCEG score recompute
- 2026-09-17 19:31 UTCEPSS rescore
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-15 18:36 UTCEG score recompute
- 2026-09-15 18:14 UTCEG score recompute
- 2026-09-15 16:35 UTCEG score recompute
- 2026-09-15 16:02 UTCMITRE cvelistV5severity → MEDIUM
- 2026-07-31 00:48 UTCEG score recompute
- 2026-07-26 11:28 UTCEG score recompute
- 2026-07-23 03:20 UTCEG score recompute
- 2026-07-15 23:54 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-918
Frequently asked(5)
What is CVE-2026-58196?
When was CVE-2026-58196 disclosed?
Is CVE-2026-58196 actively exploited?
What is the CVSS score of CVE-2026-58196?
How do I remediate CVE-2026-58196?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-58196
Is Your Infrastructure Affected by CVE-2026-58196?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.