Skip to content
OpenAdvisories
Medium · 4.0 CVE-2026-55688 EUVD-2026-41134GHSA-m452-q8c9-rg2f

AsyncHttpClient: Cookie stored for an unrelated domain (cookie tossing) via ThreadSafeCookieStore

Published Jul 1, 2026 · Updated Aug 6, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
AsyncHttpClient async-http-client >= 2.0.0, < 2.16.0, >= 3.0.0.Beta1, < 3.0.11 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 async-http-client 2.12.3-1+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 async-http-client No fix yet —
Ubuntu 26.04 LTS async-http-client 2.12.3-1ubuntu1.1 USN-8655-1
Ubuntu 25.10 async-http-client No fix yet —
Ubuntu 24.04 LTS async-http-client 2.12.3-1ubuntu0.24.04.1 USN-8655-1
Ubuntu 22.04 LTS async-http-client 2.12.3-1ubuntu0.22.04.1 USN-8655-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS async-http-client No fix yet —
Ubuntu 16.04 LTS async-http-client No fix yet —
Ubuntu Pro 20.04 LTS async-http-client 2.6.0-1ubuntu0.1~esm1 USN-8655-1
Ubuntu Pro 14.04 LTS async-http-client No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling apache-pulsar-4.2 4.2.4-r3 —
Wolfi rolling druid 37.0.0-r55 —
Wolfi rolling tez 0.10.5-r29 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.asynchttpclient:async-http-client >= 3.0.0.Beta1, < 3.0.11 3.0.11 GHSA-m452-q8c9-rg2f
Maven org.asynchttpclient:async-http-client >= 2.0.0, < 2.16.0 2.16.0 GHSA-m452-q8c9-rg2f

Advisories 1

References