CVE-2026-55766

Medium

Description

guzzlehttp/psr7 is a PSR-7 HTTP message library implementation in PHP. Prior to 2.12.1, guzzlehttp/psr7 did not reject CR/LF characters in certain first-party HTTP start-line fields: the request method, protocol version, and response reason phrase. If an application placed attacker-controlled data into one of those fields and later serialized the PSR-7 message as raw HTTP/1.x, for example with Message::toString() or an equivalent serializer, the serialized message could contain attacker-controlled header lines. The issue can also be reached through Message::parseRequest() or Message::parseResponse() when malformed raw messages are parsed into first-party PSR-7 objects and then serialized again. Creating or modifying a Request, Response, or other PSR-7 object alone is not sufficient. The issue requires the malformed message to be serialized and written to the network, forwarded, replayed, or otherwise processed by software that does not independently reject the malformed start line. This vulnerability is fixed in 2.12.1.

SeverityMedium
CVSS4.8
Exploit probability—
ProductGuzzlephp Psr-7
PublishedJun 23, 2026
First seenJun 23, 2026

How to fix

Update
  • guzzlephp psr-72.12.1 or later
  • guzzlehttp/psr72.12.1 or later

Affected products

ProductAffected versionsFixed in
guzzlephp psr-7v < 2.12.12.12.1
guzzlehttp/psr7Packagistv < 2.12.12.12.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.