CVE-2026-44313: Ssrf Scheme Only Url Guard Before Server Fetch

A URL is passed to fetch() after only a scheme-prefix check (startsWith("http://") or startsWith("https://")). RFC-1918 addresses, loopback (127.0.0.1), link-local (169.254.x.x), and cloud metadata endpoints all satisfy a scheme-only guard, enabling Server-Side Request Forgery. Resolve the URL hostname to an IP address and validate it against a blocklist of

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0TS
greprules fetch cve-2026-44313-ssrf-scheme-only-url-guard-before-server-fetch --engine opengrep

Description

A URL is passed to fetch() after only a scheme-prefix check (startsWith("http://") or startsWith("https://")). RFC-1918 addresses, loopback (127.0.0.1), link-local (169.254.x.x), and cloud metadata endpoints all satisfy a scheme-only guard, enabling Server-Side Request Forgery. Resolve the URL hostname to an IP address and validate it against a blocklist of