Description
The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. When making any HTTP request, the automatically enabled and self-managed CookieStore (aka cookie jar) will silently replace explicitly defined Cookies with any that have the same name from the cookie jar. For services that operate with multiple users, this can result in one user's Cookie being used for another user's requests.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| AsyncHttpClient | async-http-client | < 3.0.1 | — |
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 12 | async-http-client | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | async-http-client | No fix yet | — |
| Ubuntu 26.04 LTS | async-http-client | No fix yet | — |
| Ubuntu 25.10 | async-http-client | No fix yet | — |
| Ubuntu 24.04 LTS | async-http-client | No fix yet | — |
| Ubuntu 22.04 LTS | async-http-client | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | async-http-client | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | tez | 0.10.4-r8 | — |
| Wolfi rolling | thingsboard +4 | 3.9-r1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.asynchttpclient:async-http-client | >= 2.1.0, < 2.12.4 | 2.12.4 | GHSA-mfj5-cf8g-g2fv |
| Maven | org.asynchttpclient:async-http-client | >= 3.0.0.Beta1, < 3.0.1 | 3.0.1 | GHSA-mfj5-cf8g-g2fv |
Advisories 1
- WID-SEC-2025-0284 Apache Camel for Spring Boot: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 12, 2026
References
- https://github.com/AsyncHttpClient/async-http-client/security/advisories/GHSA-mfj5-cf8g-g2fv
- https://github.com/AsyncHttpClient/async-http-client/issues/1964
- https://github.com/AsyncHttpClient/async-http-client/pull/2033
- https://github.com/AsyncHttpClient/async-http-client/commit/d5a83362f7aed81b93ebca559746ac9be0f95425