CVE-2026-107231

AsyncHttpClient: Digest challenge without a usable nonce downgrades to Basic and sends the password in cleartext

Published Oct 7, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. Prior to 3.0.13 and 2.16.1, Realm.Builder treats a Digest challenge that yields no usable nonce as a Basic challenge. A malicious origin or proxy can label a challenge Digest while omitting or emptying the nonce, causing the client to resend the username and password using reversible Basic authentication. Both origin and proxy challenge parsers are affected. This issue is fixed in versions 3.0.13 and 2.16.1.

Analysis

AI-generated

Technical impact

The AsyncHttpClient library misinterprets a Digest authentication challenge that lacks a usable nonce as a Basic challenge, causing the client to send the username and password in plain text. This flaw allows an attacker to capture credentials that were intended to remain confidential, representing a cleartext transmission vulnerability. The issue is rooted in improper handling of authentication semantics and is classified under CWE-303, CWE-319, CWE-522, and CWE-757.

Affected Systems

Java applications that incorporate the AsyncHttpClient library before version 3.0.13 or 2.16.1 are affected. The vulnerability applies to both the standard and proxy-enabled implementations of the client, meaning any upstream or intermediary proxy that can alter the Digest challenge will trigger the flaw.

Risk and Exploitability

With a CVSS score of 8.7, this vulnerability is considered high severity. The EPSS score is < 1%, indicating a very low but nonzero probability of exploitation. The vulnerability is not listed in CISA’s KEV catalog, suggesting that it may not have widespread public exploitation yet. A malicious origin or proxy that can inject a Digest challenge without a nonce can coerce the client into sending Basic authentication credentials. Exploitation requires the attacker to influence the client’s authentication flow, which is feasible through network manipulation or compromised network elements. The impact could be significant if the attacker gains access to user credentials used by the application.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the AsyncHttpClient library to version 3.0.13 or 2.16.1 or later to apply the fixed logic preventing the Basic fallback.
  • Verify that all network proxies and intermediaries are trusted and enforce strict authentication challenge compliance; avoid using untrusted or misconfigured proxies that could modify authentication headers.
  • As a temporary workaround if an immediate upgrade is not possible, configure the application to disable the fallback to Basic authentication for Digest challenges lacking a nonce, or ensure that all authentication occurs over a secure TLS channel and avoid unencrypted Basic authentication.

Generated by OpenCVE AI on October 9, 2026 at 02:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-rqf5-2wxv-rjf4 AsyncHttpClient: Digest challenge without a usable nonce downgrades to Basic and sends the password in cleartext
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Asynchttpclient Project
Asynchttpclient Project async-http-client
Vendors & Products Asynchttpclient Project
Asynchttpclient Project async-http-client
Type Values Removed Values Added
Weaknesses CWE-303
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

threat_severity

Important

Type Values Removed Values Added
Description The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. Prior to 3.0.13 and 2.16.1, Realm.Builder treats a Digest challenge that yields no usable nonce as a Basic challenge. A malicious origin or proxy can label a challenge Digest while omitting or emptying the nonce, causing the client to resend the username and password using reversible Basic authentication. Both origin and proxy challenge parsers are affected. This issue is fixed in versions 3.0.13 and 2.16.1.
Title AsyncHttpClient: Digest challenge without a usable nonce downgrades to Basic and sends the password in cleartext
Weaknesses CWE-319
CWE-522
CWE-757
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-303

    Incorrect Implementation of Authentication Algorithm

  • CWE-319

    Cleartext Transmission of Sensitive Information

  • CWE-522

    Insufficiently Protected Credentials

  • CWE-757

    Selection of Less-Secure Algorithm During Negotiation ('Algorithm Downgrade')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 10, 2026, 2:48 AM
Reserved
Oct 7, 2026, 2:34 PM
Status
Awaiting Analysis
Published
Oct 7, 2026, 10:17 PM
Modified
Oct 10, 2026, 3:17 AM
Severity
Important
Public date
Oct 7, 2026, 9:06 PM