Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker controls or influences redirect target
-
DeliveryVictim client follows cross-origin 302 redirect
-
ExploitAttacker origin returns 401 to solicit auth
-
ExecutionInterceptor re-applies client-wide config Realm
-
ImpactBasic/Digest/NTLM credentials disclosed to attacker origin
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires ALL of: (1) the AsyncHttpClient client is configured with a client-wide Realm via config.setRealm(...) - per-request realms are stripped correctly and are NOT vulnerable; (2) redirect following is enabled (setFollowRedirect(true)); (3) the attacker can control, compromise, or influence a response so the client follows a cross-origin (or scheme-downgrade) redirect to an attacker origin; and (4) that attacker origin returns HTTP 401 to solicit authentication. Affected versions are 2.14.5-2.16.0 and 3.0.9-3.0.11 (Java). Limiting factors: no per-request realm is affected, the specific client-wide Realm configuration is required (not default for all deployments), and the attacker must drive the victim client through the redirect-then-401 sequence, which raises attack complexity (AC:H). No user interaction or authentication against the client is needed. |
| Impact | This is a real but conditional credential-disclosure flaw, best treated as a targeted rather than mass-exploitation risk. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N, base 6.8) is internally consistent with the description: exploitation is remote and needs no authentication against the vulnerable client, but AC:H correctly reflects that the attacker must control (or hijack) a redirect target, get the victim client to follow a cross-origin redirect, and answer 401 to solicit credentials. S:C is justified because credentials scoped to the original trusted origin leak to a different attacker origin, and C:H/I:N/A:N matches a pure secret-disclosure (Basic/Digest credentials or Negotiate/NTLM token) with no integrity or availability impact. No EPSS score, no CISA KEV entry, and no standalone POC are present in the input - so exploitation status is 'no public exploit identified at time of analysis.' However, the fix PR (#2224) ships a regression test that concretely demonstrates the leak, so a working reproduction path is documented in the patch even if no weaponized exploit is circulating. Conflicting/uncertain signals: this is explicitly described as a RESIDUAL bypass of earlier cross-origin credential-stripping fixes, meaning environments believed 'already patched' may still be exposed - a nuance defenders should not overlook. Overall priority is moderate: high impact on confidentiality but gated behind a specific client-wide Realm + follow-redirect configuration and attacker control of the redirect chain. |
| Exploit ScenarioDerived | A Java service uses AsyncHttpClient configured with a client-wide Realm (config.setRealm) and redirect following enabled to call a trusted API. An attacker who controls or can influence a response from that endpoint returns a 302 redirect to an attacker-owned origin, which then answers 401; the client re-derives the client-wide realm after the per-exchange realm was cleared and transmits Basic/Digest credentials or a Negotiate/NTLM token to the attacker. No public exploit is identified, but the vendor's fix PR includes a regression test that reproduces the credential leak. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 17, 2026
Credential disclosure in AsyncHttpClient (Java) allows a client configured with a client-wide Realm via config.setRealm(...) and with redirect following enabled to leak Basic, Digest, Negotiate, or NTLM credentials to an attacker-controlled origin. When a cross-origin or scheme-downgrade redirect clears the per-exchange realm, the authentication interceptor in Interceptors.java falls back to config.getRealm() and re-attaches the client-wide credentials; if the attacker's target then answers HTTP 401, the client sends those credentials or tokens to that foreign origin. Affected releases are 2.14.5 through 2.16.0 and 3.0.9 through 3.0.11, fixed in 2.16.1 and 3.0.12; there is no confirmed active exploitation (not in CISA KEV) and no public exploit code identified at time of analysis, and the flaw is conditional on the specific client-wide Realm configuration, redirect following, attacker-influenced redirect, and a 401 response (AC:H per the assessed vector).
RemediationAI
Vendor-released patch: upgrade to AsyncHttpClient 2.16.1 (2.x line) or 3.0.12 (3.x line), which replace the Interceptors fallback to config.getRealm() with future.getRealm() so that a realm cleared by a cross-origin or scheme-downgrade redirect is never re-derived from client configuration - see the advisory at https://github.com/AsyncHttpClient/async-http-client/security/advisories/GHSA-f8m2-889x-vw4x and the fix in pull request 2224 / commits 43db7bba81430cbd61ec2dc2c7be464e0ff6a0ff and b66757bec34def2e9867bb2b77bd848b1112abb4. Where an immediate upgrade is not possible, the most effective compensating control is to stop using a client-wide realm: remove config.setRealm(...) and attach credentials per request via request.setRealm(...) on the specific calls that need them, since per-request realms are stripped correctly - the trade-off is that credential attachment must be maintained at each call site and any call that forgets it will fail authentication. Alternatively disable automatic redirect following with setFollowRedirect(false) and handle 3xx handling in application code after validating that the target origin is trusted and scheme-matched, at the cost of losing transparent redirect handling and requiring manual Location parsing. A narrower interim workaround is to keep redirect following only for same-origin flows and to never follow redirects to origins outside an explicit allowlist, again accepting the loss of transparent cross-origin redirects; blocking or refusing cross-origin redirects also avoids the scheme-downgrade variant. Note that no patch can prevent credentials being sent to an origin that the application legitimately configures as its target, so the real mitigation is ensuring credentials are scoped per request rather than client-wide.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
AsyncHttpClient (org.asynchttpclient:async-http-client) is a Java library for executing HTTP requests asynchronously over Netty. Authentication is modeled through a Realm object that can be attached either per request (request.setRealm) or client-wide (config.setRealm), with an interceptor chain responsible for replaying requests with Authorization headers after a 401 challenge. Redirect handling is performed by Redirect30xInterceptor, which correctly strips the per-exchange realm on a cross-origin or scheme-downgrade redirect. The defect (CWE-200, exposure of sensitive information) is a residual bypass of earlier cross-origin credential-stripping fixes: in Interceptors.exitAfterIntercept the code re-derived the realm as request.getRealm() != null ? request.getRealm() : config.getRealm(), so after the redirect cleared the per-exchange realm the interceptor fell back to the client-wide realm from configuration. The upstream fix changes this to Realm realm = future.getRealm(), using only the realm the NettyResponseFuture was seeded with at exchange start (request realm or client config) and which Redirect30xInterceptor nulls out on a cross-origin or downgrade redirect. The accompanying test RedirectCredentialSecurityTest.crossDomainRedirectTo401TargetDoesNotLeakConfigRealm sets up a 302 from one origin to a second origin whose /target-401 endpoint records any Authorization header, returns 401, and asserts that no client-wide credential is delivered; a related test confirms that a port change on the same host is treated as cross-origin. Client-wide Basic/Digest credentials and Negotiate/NTLM tokens are all in scope because the fallback realm is supplied to whatever scheme the 401 challenge solicits. Per-request realms are stripped correctly and are not affected.
Know when Java gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Remote, no auth or UI against the client (AV:N/PR:N/UI:N); AC:H for the required config plus attacker-controlled cross-origin redirect and 401; credentials leak to a different origin (S:C, C:H), no integrity/availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. From 2.14.5 to 2.16.0 and from 3.0.9 to 3.0.11, a client configured with a client-wide Realm and redirect following can disclose credentials after a cross-origin redirect because the Interceptors authentication path falls back to the client configuration after redirect handling clears the per-exchange realm. If the attacker-controlled target returns 401, the client can send Basic or Digest credentials or a Negotiate or NTLM token to that origin. Per-request realms are stripped correctly, and this issue is a residual bypass of the earlier cross-origin credential-stripping fixes. This issue is fixed in versions 2.16.1 and 3.0.12.
Blast Radius
ecosystem impact- 7 maven packages depend on org.asynchttpclient:async-http-client (4 direct, 3 indirect)
Ecosystem-wide dependent count for version 3.0.9.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-81905
GHSA-f8m2-889x-vw4x
NVD
CVE.org
EPSS
VulDB
Exploit-DB