Vulnerabilities in pkg:maven/org.asynchttpclient/async-http-client
PACKAGECVE-2026-107228 is a MODERATE (CVSS 6.8) asynchttpclient cookiestore silently overrides caller's vulnerability (CWE-287: Improper Authentication) affecting Async http client libraries in the Maven ecosystem. The issue involves asynchttpclient cookiestore silently overrides caller's explicit cookie header via setheader (bypass of cve-2024-53990 fix). Remediation is available by upgrading affected packages to version 3.0.14.
pkg:maven/org.asynchttpclient/async-http-client
Vulnerability advisories affecting package pkg:maven/org.asynchttpclient/async-http-client. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-2jwh-9rmr-j4xf | CVE-2026-107228 | MODERATE | AsyncHttpClient CookieStore Silently Overrides Caller's Explicit Cookie Header via setHeader (Bypass of CVE-2024-53990 Fix) |
| GHSA-p2jm-6hj6-9rjg | CVE-2026-107226 | MODERATE | AsyncHttpClient: Cookies received over plaintext HTTP can plant, overwrite or delete Secure cookies set over HTTPS |
| GHSA-x8v2-478q-2hvg | CVE-2026-107227 | HIGH | AsyncHttpClient: Unbounded WebSocket permessage-deflate decompression enables a decompression-bomb denial of service when compression is enabled |
| GHSA-v2j5-22fr-j62r | CVE-2026-107230 | HIGH | AsyncHttpClient: Pooled connections can still be shared across NTLM, Negotiate and proxy logins |
| GHSA-mfj3-87qq-382v | CVE-2026-107283 | LOW | AsyncHttpClient: Digest authentication cnonce generated with a non-cryptographic random source |
| GHSA-3wp9-xfwm-rjjf | CVE-2026-107285 | MODERATE | AsyncHttpClient: WebSocket proxy credentials sent to the origin server over a CONNECT tunnel |
| GHSA-f9m8-cv68-674w | CVE-2026-107280 | MODERATE | AsyncHttpClient: Cookie Domain attribute is not checked against the public suffix list, so a cookie can be set for co.uk |
| GHSA-jmqq-x5g9-9p2w | CVE-2026-107282 | CRITICAL | AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host |
| GHSA-rqf5-2wxv-rjf4 | CVE-2026-107231 | HIGH | AsyncHttpClient: Digest challenge without a usable nonce downgrades to Basic and sends the password in cleartext |
| GHSA-f8m2-889x-vw4x | CVE-2026-85717 | MODERATE | AsyncHttpClient re-sends client-wide realm credentials to a cross-origin redirect target |
| GHSA-xr57-gcx8-52hf | CVE-2026-85720 | MODERATE | AsyncHttpClient sends origin credentials to the proxy on the plaintext CONNECT request |
| GHSA-7grg-jcf7-rpmx | CVE-2026-85721 | HIGH | AsyncHttpClient's unbounded HTTP/1.1 response decompression enables a decompression-bomb denial of service |
| GHSA-fj9w-c36g-h5x8 | CVE-2026-85716 | LOW | AsyncHttpClient doesn't verify SCRAM and Digest mutual-authentication responses |
| GHSA-m452-q8c9-rg2f | CVE-2026-55688 | MODERATE | AsyncHttpClient stores cookie for an unrelated domain (cookie tossing) via ThreadSafeCookieStore |
| GHSA-fmxf-pm6p-7xgm | CVE-2026-45300 | HIGH | async-http-client: Cookie header not stripped on cross-origin redirect |
| GHSA-cmxv-58fp-fm3g | CVE-2026-40490 | MODERATE | AsyncHttpClient leaks authorization credentials to untrusted domains on cross-origin redirects |
| GHSA-mfj5-cf8g-g2fv | CVE-2024-53990 | CRITICAL | AsyncHttpClient (AHC) library's `CookieStore` replaces explicitly defined `Cookie`s |
| GHSA-93jq-624g-4p9p | CVE-2017-14063 | HIGH | Improper Input Validation in async-http-client |
CVE-2026-107228 at a Glance
Security Impact
CVSS: 6.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2026-107228
To remediate this vulnerability, upgrade all affected Async http client dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.asynchttpclient</groupId>
<artifactId>async-http-client</artifactId>
<version>3.0.14</version>
</dependency>
<dependency>
<groupId>org.asynchttpclient</groupId>
<artifactId>async-http-client</artifactId>
<version>Latest secure release</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.asynchttpclient
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-107228, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.asynchttpclient
Analyze the terminal output to locate any version of Async http client in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.14), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.asynchttpclient command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Async http client, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-107228 Affected Async http client Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.asynchttpclient:async-http-client
|
Maven |
≥ 3.0.0
< 3.0.14
|
3.0.14
|
|
org.asynchttpclient:async-http-client
|
Maven |
≥ 2.1.0
≤ 2.16.1
|
|
References
Frequently Asked Questions
What is CVE-2026-107228?
Which Async http client versions are affected?
What version fixes CVE-2026-107228?
Is async-http-client affected?
What is the CVSS score of CVE-2026-107228?
What CWE is associated with CVE-2026-107228?
How can I check Maven dependencies for CVE-2026-107228?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2jwh-9rmr-j4xf",
"modified" : "2026-10-08T16:50:03Z",
"published" : "2026-10-08T16:50:03Z",
"aliases" : [ "CVE-2026-107228" ],
"summary" : "AsyncHttpClient CookieStore Silently Overrides Caller's Explicit Cookie Header via setHeader (Bypass of CVE-2024-53990 Fix)",
"details" : "### Impact\n\nWith the cookie store enabled, which is the default, a `Cookie` header that the caller sets on a request with `setHeader` or `addHeader` is thrown away whenever the store holds any cookie for the request's origin: the request's cookie list is written into that header afterwards and replaces it. CVE-2024-53990 fixed the same problem for cookies added with `addCookie`, but that fix works on the cookie list, and a header set directly never reaches it.\n\nThis is not limited to a cookie of the same name. A store cookie of any name erases the caller's header, so a request meant to carry the caller's session cookie goes out with only the store's cookies, and where the store has a cookie of the caller's name, the store's value is sent instead.\n\nIt matters most where one client acts for several users. An application that puts each user's session on the request itself, and shares one client and its default cookie store, sends one user's request with a session cookie the store took from a response to another user. The request runs as that other user, so a user of such an application can have their request served under someone else's session, or someone else's under theirs.\n\n### Affected versions\n\n* 3.x: up to and including 3.0.13\n* 2.x: from 2.1.0 up to and including 2.16.1\n\n### Patches\n\nFixed in 3.0.14. The store's cookies are added to a caller's `Cookie` header instead of replacing it, and where both name the same cookie the caller's is kept. The caller's text is kept as written, and several `Cookie` headers are folded into one, as RFC 6265 Section 5.4 requires.\n\nThe 2.x line is end of life and will not receive a fix. Upgrade to 3.0.14.\n\n### Workarounds\n\nWhere requests carry per-user cookies, use a separate client per user, or disable the cookie store with `setCookieStore(null)`.\n\n### References\n\nIncomplete fix of CVE-2024-53990 (GHSA-mfj5-cf8g-g2fv). Reported by @1diot9.\n\n### Attribution\n\nAI-assisted tools were used to support discovery and analysis.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.asynchttpclient:async-http-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.0.14"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.0.13"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.asynchttpclient:async-http-client"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.1.0"
}, {
"last_affected" : "2.16.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/AsyncHttpClient/async-http-client/security/advisories/GHSA-2jwh-9rmr-j4xf"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-107228"
}, {
"type" : "WEB",
"url" : "https://github.com/AsyncHttpClient/async-http-client/commit/fd9763620725126c1c8bb0af1ceb9a7523099a5f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/AsyncHttpClient/async-http-client"
}, {
"type" : "WEB",
"url" : "https://github.com/AsyncHttpClient/async-http-client/releases/tag/async-http-client-project-3.0.14"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-08T16:50:03Z",
"nvd_published_at" : "2026-10-07T21:17:14Z"
}
}