What’s Vulnerable › Vulnerabilities

CVE-2026-45300: async-http-client: Cookie header not stripped on cross-origin redirect

Description

The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. Versions on the 2.x branch prior to 2.15.0 and the 3.x branch prior to 3.0.10 leak `Cookie` headers to cross-origin redirect targets. When following a redirect to a different origin, the `propagatedHeaders()` method in `Redirect30xInterceptor.java` strips `Authorization` and `Proxy-Authorization` headers but does not strip the `Cookie` header, causing session cookies and other sensitive cookie values to be sent to attacker-controlled servers. Versions 2.15.0 and 3.0.10 patch the issue.

Affected products

How to fix

Upgrade to a fixed version: AsyncHttpClient async-http-client 2.15.0, 3.0.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-45300 or the next vulnerability affects your stack