Insufficient verification of data authenticity in Async-http-client - #VU142440
Published: August 13, 2026
Vulnerability details
The vulnerability allows a remote attacker to inject unverified WebSocket frames into the client application.
The vulnerability exists due to insufficient verification of data authenticity in WebSocketHandler.upgrade() when processing a WebSocket handshake response with an invalid or missing Sec-WebSocket-Accept header. A remote attacker can send a crafted 101 response with WebSocket frames in the same TCP read to inject unverified WebSocket frames into the client application.
The request future completes exceptionally, onError is delivered before the spurious onOpen, and only frames included in the same TCP read as the 101 response are delivered.