All reports
Low

org.asynchttpclient/async-http-client: async-http-client: Processing of unverified WebSocket frames via improper handshake validation

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-107284

Probability of exploitation in the next 30 days: 0.14%

FIRST EPSS · 2026-11-22

Description

The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. Prior to 3.0.12 and 2.16.1, WebSocketHandler.upgrade aborts a handshake whose Sec-WebSocket-Accept value is missing or invalid but continues into pipeline installation and onOpen delivery. Frames coalesced with the invalid 101 response can be decoded and delivered from a peer that did not prove the handshake, although the request future fails and the channel closes. This issue is fixed in versions 3.0.12 and 2.16.1.

A flaw was found in async-http-client. When initiating a WebSocket connection, the client aborts handshakes that have missing or invalid validation headers but still proceeds to initialize the processing pipeline. A malicious server can exploit this issue by bundling data frames with an invalid handshake response, causing the client to decode and process untrusted messages before the connection terminates.