CVE-2026-50151: Unvalidated Location Redirect Ssrf

Constructing a new HTTP request directly from an unvalidated Location header can lead to credential leakage via open redirects to attacker-controlled hosts.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-50151-unvalidated-location-redirect-ssrf --engine opengrep

Description

Constructing a new HTTP request directly from an unvalidated Location header can lead to credential leakage via open redirects to attacker-controlled hosts.