CVE-2026-85720: AsyncHttpClient sends origin credentials to the proxy on the plaintext CONNECT request
When a request uses an HTTP proxy to reach an HTTPS origin, the client opens the tunnel with a plaintext CONNECT sent to the proxy before any TLS exists. On affected versions the origin’s preemptive credentials were added to that CONNECT. A Basic realm sent Authorization: Basic base64(user:pass) to the proxy in the clear, and NTLM, SPNEGO or Kerberos realms sent their token. The proxy, and anyone who can read the client to proxy hop, saw credentials that were meant only for the origin.
References
- github.com/AsyncHttpClient/async-http-client/commit/9dba5ac988b7e750551f59b2eab550b60ac8a0d6
- github.com/AsyncHttpClient/async-http-client/pull/2234
- github.com/AsyncHttpClient/async-http-client/security/advisories/GHSA-xr57-gcx8-52hf
- github.com/advisories/GHSA-xr57-gcx8-52hf
- nvd.nist.gov/vuln/detail/CVE-2026-85720
Code Behaviors & Features
Detect and mitigate CVE-2026-85720 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →