WebSocket Handshake Vulnerability in AsyncHttpClient Package

async-http-client Updated 08 Oct 2026

Summary

07/10/2026
N/A
No i
Low
3.7

DEBIAN-CVE-2026-107284: The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. Affects async-http-client versions 2.12.3-1 – 2.12.3-1+deb12u1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The AsyncHttpClient (AHC) library is a widely used tool in Java applications that simplifies the execution of HTTP requests and the asynchronous processing of HTTP responses. It is designed to handle high-performance web communication, making it a popular choice for developers. However, prior to versions 3.0.12 and 2.16.1, AHC had a critical vulnerability in its WebSocketHandler component, which could lead to security issues during WebSocket handshakes.

Vulnerability Detail

The vulnerability arises from the WebSocketHandler.upgrade method, which improperly handles handshakes with missing or invalid Sec-WebSocket-Accept values. Although the handshake is aborted, the process continues into pipeline installation and onOpen delivery, allowing frames coalesced with an invalid 101 response to be decoded and delivered from a peer that did not prove the handshake. This can lead to unauthorized access and potential data leakage, as the request future fails and the channel closes, but not before the invalid frames are processed.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to update to the patched versions as soon as possible.

Conclusion

The AsyncHttpClient library has a significant vulnerability related to WebSocket handshakes that could lead to unauthorized access and data leakage. It is crucial for users to update to the latest patched versions to mitigate these risks. Regular monitoring and vulnerability checks using tools like Vulert can further enhance security.

See every vulnerability recorded for async-http-client →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 3.7, indicating a medium severity level.

Versions prior to 3.0.12 and 2.16.1 are affected by this vulnerability.

Failing to address this vulnerability may allow unauthorized access and data leakage through improperly handled WebSocket connections.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Vulert monitors and alerts in real-time for open-source vulnerabilities using just a manifest file like package-lock.json, providing an easy way to stay informed about potential security issues.

Related vulnerabilities

Recent vulnerabilities recorded for async-http-client.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback