CVE-2026-107231
AsyncHttpClient: Digest challenge without a usable nonce downgrades to Basic and sends the password in cleartext
Archived. This CVE has left SubZer0's live 30-day window. Signals below are as of 2026-11-07; check the references for anything newer.
- Severity: High
- CVSS 8.7
- EPSS 0.24%
- P2 · This week
Why P2: this week.
Description
### Impact 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`. ### Affected versions * 3.x: up to and including 3.0.12 * 2.x: up to and including 2.16.0 This is long-standing behaviour on both lines, not a recent regression. On 3.0.12 there is one additional…
Affected products
- maven org.asynchttpclient:async-http-client >= 2.0.0, <= 2.16.0; first patched: 2.16.1
- maven org.asynchttpclient:async-http-client >= 3.0.0.Beta1, <= 3.0.12; first patched: 3.0.13
References
- GitHub security advisory GitHub
- Advisory reference GitHub
- Advisory reference GitHub
- Advisory reference GitHub
- Advisory reference GitHub
- Advisory reference GitHub
- Advisory reference GitHub