Skip to main content

AsyncHttpClient CVE-2026-85717

| EUVDEUVD-2026-81905 MEDIUM
Information Exposure (CWE-200)
2026-09-17 GitHub_M GHSA-f8m2-889x-vw4x
6.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker controls or influences redirect target
  2. Delivery
    Victim client follows cross-origin 302 redirect
  3. Exploit
    Attacker origin returns 401 to solicit auth
  4. Execution
    Interceptor re-applies client-wide config Realm
  5. Impact
    Basic/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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

async-http-client 3.0.9, < 3.0.12
async-http-client 2.14.5, < 2.16.1

Affected Packages

maven org.asynchttpclient:async-http-client fix: 2.16.1, 3.0.12
euvd async_http_client_2_14_5 fix: 2.16.1
euvd async_http_client_3_0_9 fix: 3.0.12

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

Vendor (GitHub_M) PRIMARY 6.8 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
vuln.today AI 6.8 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
Red Hat 6.8 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch available
Sep 17, 2026 - 17:19 EUVD
CVE Published
Sep 17, 2026 - 15:53 cve.org
MEDIUM 6.8

DescriptionCVE.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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Medium
popular Java async HTTP client library, common but not universal
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS GHSA Vendor GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

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

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy