CVE-2026-40490 json
AsyncHttpClient leaks authorization credentials to untrusted domains on cross-origin redirects
published 6mo ago modified last mo. also EUVD-2026-23638 , GHSA-cmxv-58fp-fm3g
- cvss
- 6.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 36%
- public exploits
- 0
- none known
Summary
The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. When redirect following is enabled (followRedirect(true)), versions of AsyncHttpClient prior to 3.0.9 and 2.14.5 forward Authorization and Proxy-Authorization headers along with Realm credentials to arbitrary redirect targets regardless of domain, scheme, or port changes. This leaks credentials on cross-domain redirects and HTTPS-to-HTTP downgrades. Additionally, even when stripAuthorizationOnRedirect is set to true, the Realm object containing plaintext credentials is still propagated to the redirect request, causing credential re-generation for Basic and Digest authentication schemes via NettyRequestFactory. An attacker who controls a redirect target (via open redirect, DNS rebinding, or MITM on HTTP) can capture Bearer tokens, Basic auth credentials, or any other Authorization header value. The fix in versions 3.0.9 and 2.14.5 automatically strips Authorization and Proxy-Authorization headers and clears Realm credentials whenever a redirect crosses origin boundaries (different scheme, host, or port) or downgrades from HTTPS to HTTP. For users unable to upgrade, set `(stripAuthorizationOnRedirect(true))` in the client config and avoid using Realm-based authentication with redirect following enabled. Note that `(stripAuthorizationOnRedirect(true))` alone is insufficient on versions prior to 3.0.9 and 2.14.5 because the Realm bypass still re-generates credentials. Alternatively, disable redirect following (`followRedirect(false)`) and handle redirects manually with origin validation.
Patch / fix
- maven org.asynchttpclient:async-http-client 2.14.5, 3.0.9
- asynchttpclient_project async-http-client 2.14.5, 3.0.9
- org.asynchttpclient async-http-client 2.14.5, 3.0.9
Is CVE-2026-40490 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-40490 updated cvss 6.8
async-http-client: AsyncHttpClient: Credential leakage via improper handling of authorization headers during redirects
-
Red Hat build of Apache Camel for Spring Boot 4 org.asynchttpclient/async-http-client org.asynchttpclient/async-http-client Red Hat Fuse 7 org.asynchttpclient/async-http-client org.asynchttpclient/async-http-client Red Hat JBoss Enterprise Application Platform 7 org.asynchttpclient/async-http-client org.asynchttpclient/async-http-client Red Hat JBoss Enterprise Application Platform 8 com.ning/async-http-client com.ning/async-http-client, org.asynchttpclient/async-http-client org.asynchttpclient/async-http-client Red Hat JBoss Enterprise Application Platform Expansion Pack com.ning/async-http-client com.ning/async-http-client, org.asynchttpclient/async-http-client org.asynchttpclient/async-http-clientaffected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 6mo ago
Exploit prediction
0.42% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N |
| GitHub | 3.1 | 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.asynchttpclient:async-http-client | >=3.0.0.Beta1, <3.0.9 >=2.0.0, <2.14.5 |
3.0.9 2.14.5 |
Affected products
- AsyncHttpClient async-http-client
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
-
github.com
/AsyncHttpClient/async-http-client/commit/6b2fbb7f8
web
-
github.com
/AsyncHttpClient/async-http-client/commit/ae557ad35246721c09dafb2976609cd0004e78ae
web
-
github.com
/AsyncHttpClient/async-http-client/security/advisories/GHSA-cmxv-58fp-fm3g
web
-
github.com
/AsyncHttpClient/async-http-client/releases/tag/async-http-client-project-2.14.5
web
-
github.com
/AsyncHttpClient/async-http-client/releases/tag/async-http-client-project-3.0.9
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-40490
advisory
-
github.com
/AsyncHttpClient/async-http-client
package
Sources
- CVE List CVE-2026-40490
- GitHub Advisory GHSA-cmxv-58fp-fm3g
- NVD CVE-2026-40490
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.