Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.asynchttpclient/async-http-client
  4. ›
  5. CVE-2026-107231

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

October 8, 2026

A Digest challenge that does not yield a usable nonce is treated as a Basic challenge. The client then answers it with Authorization: Basic, which carries the username and password base64 encoded and so recoverable by anyone who sees the request.

Any of these is enough, sent by whoever writes the 401 or 407:

WWW-Authenticate: Digest realm="protected"
WWW-Authenticate: Digest realm="protected", nonce=""

The challenge announces itself as Digest, so it passes the check that would otherwise reject a non-Digest challenge for a Digest realm. It then fails to produce a nonce, and the absence of a nonce is what selected Basic. A server offering plain Basic to a Digest realm gets nothing, so labelling the challenge Digest and leaving the nonce out is what makes the difference.

This is reachable by anyone who can write the challenge: a malicious or compromised origin, a proxy, or an attacker on a plaintext hop. Digest exists precisely to keep the password off those hops. A server that stores only HA1, and anyone impersonating the real origin, does not otherwise learn the password itself, so the disclosure enables reuse against other services.

Both the target and the proxy paths are affected, through parseWWWAuthenticateHeader and parseProxyAuthenticateHeader.

References

  • github.com/AsyncHttpClient/async-http-client/commit/8376866aa9b5a7653ad19db9d472692f875caa83
  • github.com/AsyncHttpClient/async-http-client/commit/c8d639bf6ac341d377d610a93570bcd15565f1a6
  • github.com/AsyncHttpClient/async-http-client/releases/tag/async-http-client-project-2.16.1
  • github.com/AsyncHttpClient/async-http-client/releases/tag/async-http-client-project-3.0.13
  • github.com/AsyncHttpClient/async-http-client/security/advisories/GHSA-rqf5-2wxv-rjf4
  • github.com/advisories/GHSA-rqf5-2wxv-rjf4
  • nvd.nist.gov/vuln/detail/CVE-2026-107231

Code Behaviors & Features

Detect and mitigate CVE-2026-107231 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.0.0 before 2.16.1, all versions starting from 3.0.0-Beta.1 before 3.0.13

Fixed versions

  • 2.16.1
  • 3.0.13

Solution

Upgrade to versions 2.16.1, 3.0.13 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-319: Cleartext Transmission of Sensitive Information
  • CWE-522: Insufficiently Protected Credentials
  • CWE-757: Selection of Less-Secure Algorithm During Negotiation ('Algorithm Downgrade')

Source file

maven/org.asynchttpclient/async-http-client/CVE-2026-107231.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:44 +0000.