> CVE-2026-40490 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-04-18 02:16
MODIFIED
2026-04-18 02:16
CVSS_SCORE V3
6.8
EPSS (Prob. Exploit)
0.48%
Top 59.4%
DATA SOURCES:
NVD đź”— 2026-04-18 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-10-25 GITHUB đź”— 2026-11-05 OSV đź”— 2026-07-26

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
EXPLOITABILITY
2.2
IMPACT
4.0

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-200

> CWE DETAILED DESCRIPTIONS

CWE-200: Exposure of Sensitive Information to an Unauthorized Actor - The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.

> GITHUB SECURITY ADVISORY

GHSA-cmxv-58fp-fm3g MODERATE

AsyncHttpClient leaks authorization credentials to untrusted domains on cross-origin redirects

AFFECTED PACKAGES:
MAVEN / org.asynchttpclient:async-http-client
>= 2.0.0, < 2.14.5
Fixed in: 2.14.5
MAVEN / org.asynchttpclient:async-http-client
>= 3.0.0.Beta1, < 3.0.9
Fixed in: 3.0.9

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

AsyncHttpClient leaks authorization credentials to untrusted domains on cross-origin redirects

AFFECTED PACKAGES:
Unknown / Unknown
168 versions affected
ALIASES:
GHSA-cmxv-58fp-fm3g

> HISTORIQUE DES MODIFICATIONS

Première apparition
18/04/2026 02:16
Source: NVD
📊 ENRICHISSEMENT 01/05/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor - The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
Total des modifications: 1 Dernière mise à jour: 6 months ago

> REFERENCES

https://github.com/AsyncHttpClient/async-http-client/commit/6b2fbb7f8
https://github.com/AsyncHttpClient/async-http-client/commit/ae557ad35246721c09da...
https://github.com/AsyncHttpClient/async-http-client/releases/tag/async-http-cli...
https://github.com/AsyncHttpClient/async-http-client/releases/tag/async-http-cli...
https://github.com/AsyncHttpClient/async-http-client/security/advisories/GHSA-cm...
« BACK_TO_HOME