CVE-2026-55688
AsyncHttpClient stores cookie for an unrelated domain (cookie tossing) via ThreadSafeCookieStore
Description
Impact
A cookie tossing / cookie injection issue (CWE-1275). 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 (RFC 6265 §5.3 step 6). 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.
Who is Impacted
Applications that use a single AsyncHttpClient instance - and thus the default, shared CookieStore - to reach both an attacker-influenced host and a trusted host. Typical exposure: crawlers, link-preview / webhook fetchers, SSRF-style "fetch this URL" features, multi-backend aggregators, or following redirects to an attacker-controlled host. The attacker can write a cookie the client presents to the victim host (session fixation, overwriting a session id / CSRF-token cookie); they cannot read the victim host's cookies. Applications that talk only to a fixed trusted backend, or that disable/scope the cookie store, are not exposed.
Patches
Fixed in 3.0.11 and 2.16.0
Workarounds
- Disable the cookie store (setCookieStore(null)) when cookies are not needed; or
- Use a separate AsyncHttpClient (separate cookie store) per trust domain so an attacker-influenced host and a trusted host never share a jar
- Supply a custom CookieStore whose add(Uri, Cookie) rejects cookies whose Domain is not domain-matched by the request host.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.asynchttpclient » async-http-client | >= 2.0.0, < 2.16.0>= 3.0.0.Beta1, < 3.0.11 | 2.16.0, 3.0.11 |
Blast radius
66% of the dependent artifacts (2,317) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 23,469 |
| 2 hops | 83,515 |
| 3 hops | 44,753 |
| 4 hops | 36,287 |
| 5 hops | 24,154 |
| 6 hops | 8,360 |
Most used dependents
- org.seleniumhq.selenium » selenium-java2,089 usages
- com.typesafe.play » play-test1,902 usages
- org.scalatestplus.play » scalatestplus-play1,286 usages
- com.typesafe.play » play-ws755 usages
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.seleniumhq.selenium » selenium-remote-driver469 usages
- org.seleniumhq.selenium » selenium-chrome-driver437 usages
- org.seleniumhq.selenium » selenium-support421 usages
- org.seleniumhq.selenium » selenium-firefox-driver372 usages
- io.appium » java-client350 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- com.atlassian.selenium » atlassian-webdriver-core292 usages
- com.vaadin » vaadin-testbench259 usages
- com.atlassian.jira » atlassian-jira-pageobjects230 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Webhttps://github.com/AsyncHttpClient/async-http-client/security/advisories/GHSA-m452-q8c9-rg2f
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-55688
- Webhttps://github.com/AsyncHttpClient/async-http-client/pull/2196
- Webhttps://github.com/AsyncHttpClient/async-http-client/pull/2199
- Webhttps://github.com/AsyncHttpClient/async-http-client/commit/8e4069cf3c92abe099db5fb13378ac2fe9e1fd3b
- Webhttps://github.com/AsyncHttpClient/async-http-client/commit/e6955c1e3951cf80e286981d064f6c926ce33f47
- Packagehttps://github.com/AsyncHttpClient/async-http-client
- Webhttps://github.com/AsyncHttpClient/async-http-client/releases/tag/async-http-client-project-2.16.0
- Webhttps://github.com/AsyncHttpClient/async-http-client/releases/tag/async-http-client-project-3.0.11
- Webhttps://lists.debian.org/debian-lts-announce/2026/08/msg00011.html
