Async-HTTP-Client Critical Flaw Sends Credentials to Wrong Hosts
A critical vulnerability in Async-HTTP-Client allows credential leakage when requests are replayed to different hosts via failover or retry mechanisms.

Key points
- CVE-2026-107282 affects Async-HTTP-Client versions 2.0.0 through 2.16.0 and 3.0.0 through 3.0.12.
- The flaw causes the client to send original host credentials and data to a secondary host during replays.
- Patches are available in version 2.16.1 for the 2.x line and 3.0.13 for the 3.x line.
A critical vulnerability in the Async-HTTP-Client library allows applications to inadvertently send credentials and request data to unintended hosts. The flaw, identified as CVE-2026-107282, occurs when the client replays a request to a different host, failing to update the target request's host information correctly.
At a glance
- Advisory
- GHSA-jmqq-x5g9-9p2w
- CVE
- CVE-2026-107282
- Package
- org.asynchttpclient:async-http-client (maven)
- Severity
- Critical
- Patched in
- 3.0.13
The issue stems from how the client handles request replays, which are common in documented failover and retry patterns. When a request is replayed to a new host, the client updates only the current request object but leaves the target request pointing at the original host. Four distinct consumers within the library read this stale value, resulting in the first host’s request, credentials, or both being sent to the second host. An attacker does not need to force this replay; any application utilizing standard failover features triggers the behavior by design.
Technical Details
The vulnerability manifests in several ways that bypass standard security controls. In one scenario, the socket to the secondary host is filed in the connection pool under the primary host's key. Consequently, a later request addressed to the primary host is served over the connection to the secondary host, sending the primary host's Authorization header to the wrong destination.
Over a CONNECT tunnel, the client tunnels to the secondary host and negotiates TLS with it correctly. However, it then writes the primary host’s request into that tunnel. The secondary host receives the primary host’s path, Host header, and Authorization credentials. TLS does not protect against this because the handshake is legitimately with the secondary host, preventing any certificate mismatch alerts.
Additionally, the replay reuses the original realm, causing the primary host’s credentials to be regenerated onto a replay request that carries no realm of its own. The cross-origin redirect path strips realms to prevent this, but the replay path did not. The stale value also dictates whether TLS is used. If the original request was HTTP and the replay is HTTPS, no SSL handler is installed, and the replayed request, including credentials, is transmitted in cleartext.
Affected Versions
The vulnerability affects long-standing behavior in both major version lines of the library. Versions 2.0.0 through 2.16.0 of the 2.x line are affected, as are versions 3.0.0 through 3.0.12 of the 3.x line. The advisory notes that this is not a recent regression but rather long-standing behavior in the library.
What should you do?
Developers using Async-HTTP-Client should update to the patched versions immediately. The 2.x line is fixed in version 2.16.1, and the 3.x line is fixed in version 3.0.13. The patches ensure that the target request moves when a request is replayed, and the proxy moves with it. The proxy is part of the connection pool key, so correcting only the host would have converted a harmless pool miss into a different issue; the fix addresses the host and proxy movement comprehensively.
What to do and how to stay safe: Async-HTTP-Client
- Patch scores alone ignore context like network exposure and asset criticality.
- You must map vulnerabilities to specific business risks to prioritize correctly.
- Continuous exposure data replaces static scanning for accurate prioritization.
Prioritize vulnerabilities by actual exploitability and business impact, not by theoretical severity scores. Update your asset context and exposure data continuously to maintain accurate risk rankings.
Step-by-step guide: Risk Based Vulnerability Management: Prioritize Fixes by Actual Threat
General security guidance from the Threat Times newsroom. It is not confirmed advice from the organisations named in this story.
Frequently asked questions
What is CVE-2026-107282?
CVE-2026-107282 is a critical vulnerability in Async-HTTP-Client that causes credentials and request data to be sent to the wrong host during request replays.
Which versions of Async-HTTP-Client are vulnerable?
Versions 2.0.0 through 2.16.0 and 3.0.0 through 3.0.12 are affected by this vulnerability.
How can I fix this vulnerability?
Update to version 2.16.1 for the 2.x line or version 3.0.13 for the 3.x line.


