CVE-2026-85719: AsyncHttpClient: SOCKS proxy credentials sent to the origin server over plaintext HTTP

Published Sep 17, 2026
·
Updated

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.

Affected Software

1 affected component
AsyncHttpClient AsyncHttpClient>=2.1.0<2.16.1, =2.16.1, =3.0.12

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.16.1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.0.12

Event History

Sep 17, 2026
CVE Published
via MITRE·03:52 PM
Data Sourced
via MITRE·03:52 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Java applications using AsyncHttpClient with an authenticated SOCKS proxy are affected in versions 2.1.0 through 2.16.1 and in 3.x before 3.0.12. Releases before 2.1.0 do not support SOCKS proxies.

2

Does the default proxy-authentication behavior avoid exposure?

No. In the default non-preemptive flow, a hostile origin can return a 407 response and cause proxy credentials to be sent through the existing SOCKS tunnel. This can include NTLM, Kerberos, and SPNEGO credentials.

3

What conditions make credential disclosure possible?

The application must use an authenticated SOCKS proxy and make requests to an origin controlled or influenced by an attacker. With preemptive authentication, Proxy-Authorization is attached to plaintext HTTP requests, allowing the origin to receive credentials such as reversibly encoded Basic credentials.

4

What should be done if immediate patching is not possible?

Avoid using authenticated SOCKS proxies with affected AsyncHttpClient releases, especially for plaintext HTTP requests and requests to untrusted origins. Upgrade to 2.16.1 or 3.0.12 when possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203