CVE-2026-27808: Ssrf Insecure Transport

An `http.Client` is configured with an `http.Transport` that does not define `DialContext` or `Dial`. When used to fetch dynamically-provided URLs, the client can dial internal or private IP addresses, exposing the application to Server-Side Request Forgery (SSRF). Ensure a protective `DialContext` is set.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Goβ
greprules fetch cve-2026-27808-ssrf-insecure-transport --engine opengrep

Description

An `http.Client` is configured with an `http.Transport` that does not define `DialContext` or `Dial`. When used to fetch dynamically-provided URLs, the client can dial internal or private IP addresses, exposing the application to Server-Side Request Forgery (SSRF). Ensure a protective `DialContext` is set.