CVE-2026-50188: Curlopt Httpheader Crlf Injection

Missing sanitization of HTTP header values assigned to CURLOPT_HTTPHEADER can lead to HTTP header injection (CRLF injection). Attackers can inject carriage returns and line feeds to manipulate outgoing HTTP requests.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0PHP
greprules fetch cve-2026-50188-curlopt-httpheader-crlf-injection --engine opengrep

Description

Missing sanitization of HTTP header values assigned to CURLOPT_HTTPHEADER can lead to HTTP header injection (CRLF injection). Attackers can inject carriage returns and line feeds to manipulate outgoing HTTP requests.