Severity by source
AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
AC:H reflects the required shared-CookieStore architecture; PR:N because the attacker only controls a responding HTTP server; S:C because injected cookie crosses to a distinct trusted domain; I:L for cookie-level integrity tampering with no confidentiality or availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
Lifecycle Timeline
2Blast Radius
ecosystem impact- 5 maven packages depend on org.asynchttpclient:async-http-client (1 direct, 4 indirect)
Ecosystem-wide dependent count for version 3.0.0.Beta1.
DescriptionCVE.org
The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. In versions from 2.0.0 prior to 2.16.0 and from 3.0.0.Beta1 prior to 3.0.11, ThreadSafeCookieStore stored a cookie under the value of its Domain attribute without verifying that the responding host is allowed to set a cookie for that domain, leading to a cookie tossing / cookie injection issue. A host the client connects to can therefore plant a cookie scoped to an unrelated domain, and the client will then send that cookie on later requests to that domain. Applications that use a single AsyncHttpClient instance - and thus the default, shared CookieStore - to reach both an attacker-influenced host and a trusted host are impacted. This issue has been fixed in versions 2.16.0 and 3.0.11.
AnalysisAI
Cookie tossing in AsyncHttpClient (AHC) library allows a malicious HTTP server to plant cookies scoped to an unrelated trusted domain, affecting versions 2.0.0-2.15.x and 3.0.0.Beta1-3.0.10. ThreadSafeCookieStore accepts and stores a cookie's Domain attribute value without verifying that the responding host is authorised to set cookies for that domain, so any server the client contacts can inject a cookie that AHC will automatically forward to the targeted domain on subsequent requests. Java applications sharing a single AHC instance - and therefore its default shared CookieStore - across calls to both attacker-influenced and trusted hosts are the primary attack surface; no public exploit has been identified at time of analysis, and vendor-released fixes are available in 2.16.0 and 3.0.11.
Technical ContextAI
AsyncHttpClient (CPE: cpe:2.3:a:asynchttpclient:async-http-client) is a Java library providing non-blocking, asynchronous HTTP request execution. Its ThreadSafeCookieStore class is the default, shared CookieStore used when one AHC instance serves multiple HTTP connections. RFC 6265 mandates that an HTTP client reject any Set-Cookie header whose Domain attribute is not a registrable-domain suffix of the responding host's FQDN before persisting the cookie; AHC's ThreadSafeCookieStore omits this origin check entirely, storing the cookie under whatever Domain value the server supplies. The assigned root cause is CWE-1275 (Sensitive Cookie with Improper SameSite Attribute class), reflecting a failure to enforce cookie-scope boundaries at the storage layer. Because the CookieStore is shared across all connections within the same AHC instance, a cookie accepted from a rogue server persists and is transmitted to any later request whose host matches the injected Domain value, crossing application trust boundaries without any further attacker interaction.
RemediationAI
Upgrade async-http-client to version 2.16.0 (for the 2.x stable line) or 3.0.11 (for the 3.x pre-release line), both of which enforce RFC 6265-compliant domain-origin validation in ThreadSafeCookieStore per the vendor advisory at https://github.com/AsyncHttpClient/async-http-client/security/advisories/GHSA-m452-q8c9-rg2f. For applications that cannot upgrade immediately, create a distinct AsyncHttpClient instance for each trust domain rather than sharing one instance across trusted and untrusted hosts; this eliminates the shared CookieStore, breaking the injection path at the cost of increased object allocation and connection-pool fragmentation. A second compensating control is to supply a custom CookieStore implementation that rejects any Set-Cookie header whose Domain attribute is not a suffix of the responding host, restoring the RFC 6265 validation that the default store omits; this preserves a single AHC instance but requires a code change. Disabling cookie storage entirely (by configuring a no-op CookieStore) is the most aggressive workaround and eliminates the attack surface completely, though it breaks any functionality that depends on cookie-based session continuity.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
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
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same technique Code Injection
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-41134
GHSA-m452-q8c9-rg2f