CVE-2026-55688: AsyncHttpClient: Cookie stored for an unrelated domain (cookie tossing) via ThreadSafeCookieStore

Published Jul 1, 2026
·
Updated

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.

Other sources

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.

MITRE

Affected Software

3 affected componentsFixes available
AsyncHttpClient AsyncHttpClient>2.0.0<2.16.0, >3.0.0.Beta1<3.0.11
maven/org.asynchttpclient:async-http-client>=2.0.0<2.16.0
2.16.0
maven/org.asynchttpclient:async-http-client>=3.0.0.Beta1<3.0.11
3.0.11

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.asynchttpclient:async-http-client to a version that resolves this vulnerability.

    Fixed in 2.16.0
  2. Upgrade

    Upgrade maven/org.asynchttpclient:async-http-client to a version that resolves this vulnerability.

    Fixed in 3.0.11
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.16.0
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.0.11
  5. Configuration

    If cookies are not needed, disable cookie storage by calling setCookieStore(null) for AsyncHttpClient.

    AsyncHttpClient (AHC) CookieStore setCookieStore(null) = null
  6. Configuration

    If you must store cookies, supply a custom CookieStore whose add(Uri, Cookie) rejects cookies whose Cookie domain is not domain-matched by the request host.

    AsyncHttpClient (AHC) CookieStore Custom CookieStore add(Uri, Cookie) Domain matching = Reject cookies whose Domain is not domain-matched by the request host
  7. Configuration

    Use a separate AsyncHttpClient instance (with a separate cookie store) per trust domain so an attacker-influenced host and a trusted host never share a cookie jar.

    AsyncHttpClient (AHC) cookie isolation CookieStore per trust domain = Use a separate AsyncHttpClient instance per trust domain

Event History

Jul 1, 2026
CVE Published
via MITRE·07:40 PM
Data Sourced
via MITRE·07:40 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
DescriptionSeverityWeakness
Aug 26, 2026
Advisory Published
via GitHub·02:35 PM
Data Sourced
via GitHub·02:35 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-55688?

The severity of CVE-2026-55688 is classified as medium with a score of 4.

2

How do I fix CVE-2026-55688?

To fix CVE-2026-55688, upgrade AsyncHttpClient to versions 2.16.0 or 3.0.11 and later.

3

What type of vulnerability is CVE-2026-55688?

CVE-2026-55688 is a cookie tossing vulnerability due to improper cookie management in ThreadSafeCookieStore.

4

Which software versions are affected by CVE-2026-55688?

AsyncHttpClient versions from 2.0.0 prior to 2.16.0 and from 3.0.0.Beta1 prior to 3.0.11 are affected by CVE-2026-55688.

5

What are the potential impacts of CVE-2026-55688?

CVE-2026-55688 can lead to unauthorized access or manipulation of cookies by allowing related domain leakage.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203