> CVE-2026-58196 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-09-15 16:17
MODIFIED
2026-09-15 16:17
CVSS_SCORE V3
4.7
EPSS (Prob. Exploit)
0.43%
Top 63.8%
DATA SOURCES:
NVD đź”— 2026-09-15 CWE MITRE đź”— 2026-10-01 FIRST EPSS đź”— 2026-10-25 GITHUB đź”— 2026-10-08 OSV đź”— 2026-09-22

> DESCRIPTION

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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
EXPLOITABILITY
2.8
IMPACT
1.4

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-918

> CWE DETAILED DESCRIPTIONS

CWE-918: Server-Side Request Forgery (SSRF) - The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.

> GITHUB SECURITY ADVISORY

GHSA-pr64-jmmf-jp54 LOW

ToolHive: SSRF in remote MCP server authentication discovery (host-side, bypasses container isolation)

AFFECTED PACKAGES:
GO / github.com/stacklok/toolhive
< 0.31.0
Fixed in: 0.31.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

ToolHive: SSRF in remote MCP server authentication discovery (host-side, bypasses container isolation)

AFFECTED PACKAGES:
Unknown / Unknown
342 versions affected
ALIASES:
GHSA-pr64-jmmf-jp54, GO-2026-6002

> HISTORIQUE DES MODIFICATIONS

Première apparition
15/09/2026 16:17
Source: NVD
📊 ENRICHISSEMENT 01/10/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-918: Server-Side Request Forgery (SSRF) - The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure th...
Total des modifications: 1 Dernière mise à jour: 3 weeks ago

> REFERENCES

https://github.com/stacklok/toolhive/commit/4ea6afb9048ddec1d56875fa9e0da36d65c1...
https://github.com/stacklok/toolhive/releases/tag/v0.31.0
https://github.com/stacklok/toolhive/security/advisories/GHSA-pr64-jmmf-jp54
« BACK_TO_HOME