CVE Catalog

CVE-2026-85719

HighCVSS 7.5
Published: Translated: NVD NIST

Summary

The AsyncHttpClient (AHC) library in versions from 2.1.0 until 2.16.1 and 3.0.12 can expose authenticated SOCKS proxy credentials to the origin server. The Proxy-Authorization header is attached without confirming the request is sent to an HTTP proxy, so preemptive authentication leaks plaintext credentials, and with the default flow a hostile origin can force NTLM, Kerberos, or SPNEGO credentials through the SOCKS tunnel via a 407 response.

Risk Assessment

Proxy credentials may leak to an attacker controlling the origin server, enabling unauthorized access to proxy infrastructure. The risk is serious when authenticated SOCKS proxies with domain credentials are used.

Recommendation

Upgrade AsyncHttpClient to version 2.16.1 or 3.0.12, which fix the Proxy-Authorization header attachment logic.

Other vulnerabilities in AsyncHttpClient

See all
Original NVD description (English source)

The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. From 2.1.0 until 2.16.1 and 3.0.12, requests using an authenticated SOCKS proxy can expose the proxy's credentials to the origin because NettyRequestFactory and NettyRequestSender attach Proxy-Authorization without confirming that the request is being sent to an HTTP proxy. With preemptive proxy authentication, the header is attached to a plaintext HTTP request, exposing credentials such as directly reversible Basic credentials to the origin. With the default non-preemptive flow, a hostile origin can return a 407 response and ProxyUnauthorized407Interceptor sends the proxy credentials through the existing SOCKS tunnel, including NTLM, Kerberos, and SPNEGO credentials. Releases before 2.1.0 lack SOCKS proxy support. This issue is fixed in versions 2.16.1 and 3.0.12.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS