6.8

CVE-2026-40490: asynchttpclient async-http-client

CVSS: 6.8v3.1MediumDeferred
AliasesUBUNTU-CVE-2026-40490DEBIAN-CVE-2026-40490CGA-29v5-v8p4-j8j6
Published 18-04-2026Last modified 20-04-2026

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.

Overall risk
27/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.8/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.48%
0%100%
Low · +0.16 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 18-04-2026
    PublishedVulnerability first disclosed.
  2. 20-04-2026
    Last 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

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

20-09-202620-10-2026
EPSS score
0.48%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected 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
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
Show all 11 references