GHSA-pph6-vfjv-vpjw: ToolHive: SSRF guard misses IPv6 NAT64 ranges (64:ff9b::/96, 64:ff9b:1::/48), allowing metadata/internal access behind a NAT64 gateway
ToolHive's SSRF protection function fails to recognize IPv6 NAT64 address ranges (64:ff9b::/96 and 64:ff9b:1::/48) as private, allowing connections to internal or link-local addresses behind a NAT64 gateway. This flaw enables an attacker controlling a URL parameter in the OAuth authorization server to bypass SSRF guards and cause ToolHive to connect to internal metadata or other protected addresses. The vulnerability primarily results in blind internal reachability probing rather than direct data leakage, as the attacker cannot control or view responses. The issue affects all ToolHive versions prior to 0.29.1. No patch information is provided, so patch status is unconfirmed.
AI Analysis
Technical Summary
ToolHive's private IP detection function (IsPrivateIP) omits the IPv6 NAT64 prefixes 64:ff9b::/96 and 64:ff9b:1::/48 from its private IP block list. As a result, NAT64-encoded IPv6 addresses that map to internal IPv4 addresses (such as 169.254.169.254, the cloud metadata service) are misclassified as public addresses. This allows attacker-controlled URLs, particularly in the OAuth Client ID Metadata Document fetcher, to bypass SSRF protections and cause outbound connections to internal or link-local addresses via a NAT64 gateway. The vulnerability affects multiple components that share the same IP classification logic, except the webhook client. The flaw is due to incomplete IP range checks in the IsPrivateIP function and impacts all versions before 0.29.1.
Potential Impact
An attacker controlling the OAuth client_id URL can cause ToolHive to initiate connections to internal or link-local addresses behind a NAT64 gateway, bypassing SSRF protections. This enables blind internal network reachability probing but does not allow direct metadata or credential theft because the connection is HTTPS-only with TLS verification and does not expose response data to the attacker. Other components using the same IP check logic may be affected if configured with user/operator-supplied targets, but these are not attacker-controlled. The vulnerability is classified as low severity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should be aware that the SSRF guard does not block NAT64 IPv6 ranges and consider additional network-level controls or monitoring to prevent unauthorized internal access. The webhook client is not affected and enforces HTTPS scheme validation without IP checks.
GHSA-pph6-vfjv-vpjw: ToolHive: SSRF guard misses IPv6 NAT64 ranges (64:ff9b::/96, 64:ff9b:1::/48), allowing metadata/internal access behind a NAT64 gateway
Description
ToolHive's SSRF protection function fails to recognize IPv6 NAT64 address ranges (64:ff9b::/96 and 64:ff9b:1::/48) as private, allowing connections to internal or link-local addresses behind a NAT64 gateway. This flaw enables an attacker controlling a URL parameter in the OAuth authorization server to bypass SSRF guards and cause ToolHive to connect to internal metadata or other protected addresses. The vulnerability primarily results in blind internal reachability probing rather than direct data leakage, as the attacker cannot control or view responses. The issue affects all ToolHive versions prior to 0.29.1. No patch information is provided, so patch status is unconfirmed.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
ToolHive's private IP detection function (IsPrivateIP) omits the IPv6 NAT64 prefixes 64:ff9b::/96 and 64:ff9b:1::/48 from its private IP block list. As a result, NAT64-encoded IPv6 addresses that map to internal IPv4 addresses (such as 169.254.169.254, the cloud metadata service) are misclassified as public addresses. This allows attacker-controlled URLs, particularly in the OAuth Client ID Metadata Document fetcher, to bypass SSRF protections and cause outbound connections to internal or link-local addresses via a NAT64 gateway. The vulnerability affects multiple components that share the same IP classification logic, except the webhook client. The flaw is due to incomplete IP range checks in the IsPrivateIP function and impacts all versions before 0.29.1.
Potential Impact
An attacker controlling the OAuth client_id URL can cause ToolHive to initiate connections to internal or link-local addresses behind a NAT64 gateway, bypassing SSRF protections. This enables blind internal network reachability probing but does not allow direct metadata or credential theft because the connection is HTTPS-only with TLS verification and does not expose response data to the attacker. Other components using the same IP check logic may be affected if configured with user/operator-supplied targets, but these are not attacker-controlled. The vulnerability is classified as low severity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should be aware that the SSRF guard does not block NAT64 IPv6 ranges and consider additional network-level controls or monitoring to prevent unauthorized internal access. The webhook client is not affected and enforces HTTPS scheme validation without IP checks.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-pph6-vfjv-vpjw
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-54450"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- LOW
- Cvss Version
- 4.0
Threat ID: 6a58b41668715ace43d68595
Added to database: 07/16/2026, 10:36:06 UTC
Last enriched: 07/16/2026, 10:58:04 UTC
Last updated: 07/16/2026, 10:58:04 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.