CVE-2026-85717: AsyncHttpClient re-sends client-wide realm credentials to a cross-origin redirect target
A client configured with a client-wide realm (a Realm set on the config builder rather than on an individual request) and following redirects could re-send those credentials to a redirect target on a different origin. The redirect code strips the per-exchange realm, but when the target answered 401 the credentials were re-derived from the client config, handing Basic or Digest credentials, or a Negotiate or NTLM token, to an attacker controlled origin. This is a residual of the earlier cross-origin credential leak advisories, whose strip this bypassed.
References
- github.com/AsyncHttpClient/async-http-client/commit/43db7bba81430cbd61ec2dc2c7be464e0ff6a0ff
- github.com/AsyncHttpClient/async-http-client/commit/b66757bec34def2e9867bb2b77bd848b1112abb4
- github.com/AsyncHttpClient/async-http-client/pull/2224
- github.com/AsyncHttpClient/async-http-client/security/advisories/GHSA-f8m2-889x-vw4x
- github.com/advisories/GHSA-f8m2-889x-vw4x
- nvd.nist.gov/vuln/detail/CVE-2026-85717
Code Behaviors & Features
Detect and mitigate CVE-2026-85717 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 →