CRLF injection in PSR-7 - CVE-2026-55766
Published: June 18, 2026
PSR-7
Detailed vulnerability description
The vulnerability allows a remote attacker to inject arbitrary HTTP header lines.
The vulnerability exists due to improper neutralization of CRLF sequences in HTTP start-line fields when serializing PSR-7 messages as raw HTTP/1.x. A remote attacker can supply crafted method, protocol version, or reason phrase values to inject arbitrary HTTP header lines.
Exploitation requires attacker-controlled data to be placed into the request method, protocol version, or response reason phrase and for the malformed message to be serialized and processed by downstream software that does not independently reject the malformed start line.