AsyncHttpClient: WebSocket handshake continues after a failed Sec-WebSocket-Accept check (AsyncHttpClient async-http-client)

CVE-2026-107284
LOW 3.7

At a glance

Source
NVD
EPSS
EPSS 0.14 % Β· percentile 3 ()
State
PUBLISHED
Published
Updated
Assigner
GitHub_M
NVD status
Awaiting Analysis

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.

Weaknesses (CWE)

  • CWE-345 β€” Insufficient Verification of Data Authenticity
  • CWE-670 β€” Always-Incorrect Control Flow Implementation

References

Scores

VersionScoreVectorScored by
CVSS 3.1LOW 3.7CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NGitHub_M
CVSS 3.1LOW 3.7CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NNVD Β· security-advisories@github.com (Secondary)

European references

Affected products

ProductVersions
AsyncHttpClient Β· async-http-clientaffected >= 3.0.0, < 3.0.12 ; affected >= 2.0.0, < 2.16.1

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD