CVE-2026-58196

Source
https://cve.org/CVERecord?id=CVE-2026-58196
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58196.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-58196
Aliases
Downstream
Related
Published
2026-09-15T15:53:45Z
Modified
2026-09-17T03:47:01Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N CVSS Calculator
Summary
ToolHive: SSRF in remote MCP server authentication discovery (host-side, bypasses container isolation)
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-918"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58196.json"
}
References

Affected packages

Git / github.com/stacklok/toolhive

Affected ranges

Type
GIT
Repo
https://github.com/stacklok/toolhive
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.31.0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

Affected versions

toolhive-operator-0.*
toolhive-operator-0.0.10
toolhive-operator-0.0.11
toolhive-operator-0.0.3
toolhive-operator-0.0.4
toolhive-operator-0.0.5
toolhive-operator-0.0.6
toolhive-operator-0.0.7
toolhive-operator-0.0.8
toolhive-operator-0.0.9
toolhive-operator-0.1.0
toolhive-operator-0.1.5
toolhive-operator-0.1.8
toolhive-operator-0.2.0
toolhive-operator-0.2.1
toolhive-operator-0.2.11
toolhive-operator-0.2.12
toolhive-operator-0.2.13
toolhive-operator-0.2.14
toolhive-operator-0.2.15
toolhive-operator-0.2.16
toolhive-operator-0.2.17
toolhive-operator-0.2.18
toolhive-operator-0.2.19
toolhive-operator-0.2.2
toolhive-operator-0.2.20
toolhive-operator-0.2.21
toolhive-operator-0.2.22
toolhive-operator-0.2.23
toolhive-operator-0.2.24
toolhive-operator-0.2.25
toolhive-operator-0.2.26
toolhive-operator-0.2.3
toolhive-operator-0.2.4
toolhive-operator-0.2.5
toolhive-operator-0.2.6
toolhive-operator-0.2.8
toolhive-operator-0.3.0
toolhive-operator-0.3.1
toolhive-operator-0.3.2
toolhive-operator-0.3.4
toolhive-operator-0.3.5
toolhive-operator-0.3.6
toolhive-operator-0.3.7
toolhive-operator-0.4.0
toolhive-operator-0.5.0
toolhive-operator-0.5.1
toolhive-operator-0.5.10
toolhive-operator-0.5.11
toolhive-operator-0.5.12
toolhive-operator-0.5.13
toolhive-operator-0.5.14
toolhive-operator-0.5.15
toolhive-operator-0.5.16
toolhive-operator-0.5.17
toolhive-operator-0.5.18
toolhive-operator-0.5.19
toolhive-operator-0.5.2
toolhive-operator-0.5.20
toolhive-operator-0.5.21
toolhive-operator-0.5.22
toolhive-operator-0.5.23
toolhive-operator-0.5.24
toolhive-operator-0.5.25
toolhive-operator-0.5.26
toolhive-operator-0.5.27
toolhive-operator-0.5.28
toolhive-operator-0.5.3
toolhive-operator-0.5.4
toolhive-operator-0.5.5
toolhive-operator-0.5.6
toolhive-operator-0.5.7
toolhive-operator-0.5.8
toolhive-operator-0.5.9
toolhive-operator-crds-0.*
toolhive-operator-crds-0.0.10
toolhive-operator-crds-0.0.100
toolhive-operator-crds-0.0.101
toolhive-operator-crds-0.0.102
toolhive-operator-crds-0.0.103
toolhive-operator-crds-0.0.104
toolhive-operator-crds-0.0.105
toolhive-operator-crds-0.0.106
toolhive-operator-crds-0.0.11
toolhive-operator-crds-0.0.12
toolhive-operator-crds-0.0.13
toolhive-operator-crds-0.0.14
toolhive-operator-crds-0.0.15
toolhive-operator-crds-0.0.16
toolhive-operator-crds-0.0.17
toolhive-operator-crds-0.0.18
toolhive-operator-crds-0.0.19
toolhive-operator-crds-0.0.21
toolhive-operator-crds-0.0.22
toolhive-operator-crds-0.0.23
toolhive-operator-crds-0.0.24
toolhive-operator-crds-0.0.25
toolhive-operator-crds-0.0.26
toolhive-operator-crds-0.0.27
toolhive-operator-crds-0.0.29
toolhive-operator-crds-0.0.3
toolhive-operator-crds-0.0.30
toolhive-operator-crds-0.0.31
toolhive-operator-crds-0.0.32
toolhive-operator-crds-0.0.33
toolhive-operator-crds-0.0.34
toolhive-operator-crds-0.0.35
toolhive-operator-crds-0.0.36
toolhive-operator-crds-0.0.38
toolhive-operator-crds-0.0.39
toolhive-operator-crds-0.0.4
toolhive-operator-crds-0.0.40
toolhive-operator-crds-0.0.41
toolhive-operator-crds-0.0.42
toolhive-operator-crds-0.0.43
toolhive-operator-crds-0.0.44
toolhive-operator-crds-0.0.45
toolhive-operator-crds-0.0.46
toolhive-operator-crds-0.0.47
toolhive-operator-crds-0.0.48
toolhive-operator-crds-0.0.49
toolhive-operator-crds-0.0.5
toolhive-operator-crds-0.0.50
toolhive-operator-crds-0.0.51
toolhive-operator-crds-0.0.52
toolhive-operator-crds-0.0.53
toolhive-operator-crds-0.0.54
toolhive-operator-crds-0.0.55
toolhive-operator-crds-0.0.56
toolhive-operator-crds-0.0.57
toolhive-operator-crds-0.0.58
toolhive-operator-crds-0.0.59
toolhive-operator-crds-0.0.6
toolhive-operator-crds-0.0.60
toolhive-operator-crds-0.0.61
toolhive-operator-crds-0.0.62
toolhive-operator-crds-0.0.63
toolhive-operator-crds-0.0.64
toolhive-operator-crds-0.0.65
toolhive-operator-crds-0.0.66
toolhive-operator-crds-0.0.67
toolhive-operator-crds-0.0.68
toolhive-operator-crds-0.0.69
toolhive-operator-crds-0.0.7
toolhive-operator-crds-0.0.70
toolhive-operator-crds-0.0.71
toolhive-operator-crds-0.0.72
toolhive-operator-crds-0.0.73
toolhive-operator-crds-0.0.74
toolhive-operator-crds-0.0.75
toolhive-operator-crds-0.0.76
toolhive-operator-crds-0.0.77
toolhive-operator-crds-0.0.78
toolhive-operator-crds-0.0.79
toolhive-operator-crds-0.0.8
toolhive-operator-crds-0.0.80
toolhive-operator-crds-0.0.81
toolhive-operator-crds-0.0.82
toolhive-operator-crds-0.0.83
toolhive-operator-crds-0.0.84
toolhive-operator-crds-0.0.85
toolhive-operator-crds-0.0.86
toolhive-operator-crds-0.0.88
toolhive-operator-crds-0.0.89
toolhive-operator-crds-0.0.9
toolhive-operator-crds-0.0.90
toolhive-operator-crds-0.0.91
toolhive-operator-crds-0.0.92
toolhive-operator-crds-0.0.93
toolhive-operator-crds-0.0.94
toolhive-operator-crds-0.0.95
toolhive-operator-crds-0.0.96
toolhive-operator-crds-0.0.97
toolhive-operator-crds-0.0.98
toolhive-operator-crds-0.0.99
v0.*
v0.0.1
v0.0.10
v0.0.11
v0.0.12
v0.0.13
v0.0.14
v0.0.15
v0.0.16
v0.0.17
v0.0.18
v0.0.19
v0.0.2
v0.0.20
v0.0.21
v0.0.22
v0.0.23
v0.0.24
v0.0.25
v0.0.26
v0.0.27
v0.0.28
v0.0.29
v0.0.3
v0.0.30
v0.0.31
v0.0.32
v0.0.33
v0.0.34
v0.0.35
v0.0.36
v0.0.37
v0.0.38
v0.0.39
v0.0.4
v0.0.40
v0.0.41
v0.0.42
v0.0.43
v0.0.44
v0.0.45
v0.0.46
v0.0.47
v0.0.48
v0.0.5
v0.0.6
v0.0.7
v0.0.8
v0.0.9
v0.1.0
v0.1.1
v0.1.2
v0.1.3
v0.1.4
v0.1.5
v0.1.6
v0.1.7
v0.1.8
v0.1.9
v0.10.0
v0.10.1
v0.10.2
v0.11.0
v0.11.1
v0.11.2
v0.11.3
v0.12.0
v0.12.1
v0.12.2
v0.12.3
v0.12.4
v0.12.5
v0.13.0
v0.13.1
v0.14.0
v0.14.1
v0.15.0
v0.16.0
v0.17.0
v0.18.0
v0.19.0
v0.2.0
v0.2.1
v0.2.10
v0.2.11
v0.2.12
v0.2.13
v0.2.14
v0.2.15
v0.2.16
v0.2.17
v0.2.2
v0.2.3
v0.2.4
v0.2.5
v0.2.6
v0.2.7
v0.2.8
v0.2.9
v0.20.0
v0.21.0
v0.22.0
v0.23.0
v0.23.1
v0.24.0
v0.24.1
v0.25.0
v0.26.0
v0.26.1
v0.27.0
v0.27.1
v0.27.2
v0.28.0
v0.28.1
v0.28.2
v0.28.3
v0.29.0
v0.29.1
v0.29.2
v0.29.3
v0.3.0
v0.3.1
v0.3.10
v0.3.11
v0.3.2
v0.3.3
v0.3.4
v0.3.5
v0.3.6
v0.3.7
v0.3.8
v0.3.9
v0.30.0
v0.30.1
v0.4.0
v0.4.1
v0.4.2
v0.5.0
v0.5.1
v0.5.2
v0.6.0
v0.6.1
v0.6.10
v0.6.11
v0.6.12
v0.6.13
v0.6.14
v0.6.15
v0.6.16
v0.6.17
v0.6.2
v0.6.3
v0.6.4
v0.6.5
v0.6.6
v0.6.7
v0.6.8
v0.6.9
v0.7.0
v0.7.1
v0.7.2
v0.8.0
v0.8.1
v0.8.2
v0.8.3
v0.9.0
v0.9.1
v0.9.2
v0.9.3
v0.9.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58196.json"