CVE-2026-40490: asynchttpclient async-http-client
Vulnerability summary
CVE-2026-40490 is a medium (CVSS 6.8) vulnerability in asynchttpclient async-http-client. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 40.1% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 18-04-2026PublishedVulnerability first disclosed.
- 20-04-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
- OSV · WolfiEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
- OSV · MavenEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
- NVDNIST6.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
EPSS trend
Probability
0.48%
Chance of exploitation in the next 30 days
Percentile
40%
Versus all other CVEs
30-day change
+0.16 pp
From 0.33% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard10 products
- apache-pulsar-4.0< 4.0.9-r13
- apache-pulsar-4.1< 4.1.3-r16
- apache-pulsar-4.2< 4.2.1-r0
- apache-pulsar-fips-4.0< 4.0.9-r14
- apache-pulsar-fips-4.1< 4.1.3-r13
Wolfi4 products
- apache-pulsar-4.1< 4.1.3-r16
- apache-pulsar-4.2< 4.2.1-r0
- druid< 36.0.0-r15
- tez< 0.10.5-r11
Asynchttpclient1 product
- async-http-client≥ 3.0.0.Beta1, < 3.0.9 | < 2.14.5
Debian1 product
- async-http-clientAll versions (No fix recorded)
Org.asynchttpclient1 product
- async-http-client≥ 3.0.0.Beta1, < 3.0.9 | ≥ 2.0.0, < 2.14.5
Ubuntu1 product
- async-http-clientAll versions (No fix recorded)
6 vendors · 18 products
References
11 links- github.com/AsyncHttpClient/async-http-client/security/advisories/GHSA-cmxv-58fp-fm3gX Refsource CONFIRMREPORTAdvisoryWEB