CVE-2026-45300

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

Published Jun 5, 2026 CVSS 3.1 · 7.4 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The AsyncHttpClient library does not strip the Cookie header when following a redirect to a different origin, causing application‑generated session cookies to be sent to attacker‑controlled targets. The likely attack vector is an application that performs a cross‑origin redirect, which results in accidental transmission of cookie data. This exposure of session or other sensitive cookies can allow an attacker to hijack sessions or gain unauthorized access to restricted resources—an information‑exposure weakness identified as CWE‑200.

Affected Systems

The vulnerability affects the AsyncHttpClient:async‑http‑client library. All releases on the 2.x branch earlier than 2.15.0 and on the 3.x branch earlier than 3.0.10 are impacted. Versions 2.15.0, 3.0.10, and any later releases include the fix.

Risk and Exploitability

The CVSS score is 7.4, indicating high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, implying no publicly documented exploits to date. Exploitation requires that an application constructs a redirect to a different origin, which means the attacker must influence the redirect chain or the application must allow cross‑domain redirects. In such conditions, an attacker could transmit sensitive cookie data to a malicious server and potentially hijack user sessions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade AsyncHttpClient to version 2.15.0 or 3.0.10 or later to address the cookie‑leak bug.
  • Disable automatic redirects or enforce same‑origin checks if an upgrade is not immediately possible.
  • Review application code to ensure no custom redirect handling overrides the default behavior and that cookies are not sent to untrusted domains.

Generated by OpenCVE AI on June 5, 2026 at 22:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-fmxf-pm6p-7xgm async-http-client: Cookie header not stripped on cross-origin redirect
History
Type Values Removed Values Added
CPEs cpe:2.3:a:asynchttpclient_project:async-http-client:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Asynchttpclient Project
Asynchttpclient Project async-http-client
Vendors & Products Asynchttpclient Project
Asynchttpclient Project async-http-client
Type Values Removed Values Added
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.
Title async-http-client: Cookie header not stripped on cross-origin redirect
Weaknesses CWE-200
References
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N'}

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 8, 2026, 4:34 PM
Reserved
May 11, 2026, 8:14 PM
Status
Analyzed
Published
Jun 5, 2026, 8:17 PM
Modified
Jul 23, 2026, 7:10 AM