External risk intelligence

Apache HttpComponents Client TLS Hostname Verification Bypass.

CVE advisorySeverity: CRITICAL (CVSS 9.1)

CVE-2026-71290

This vulnerability exists in a client-side library (Apache HttpComponents Client) used by applications to initiate outgoing connections. It is not a server-side component exposed to the internet, but rather a dependency integrated into software that performs outbound requests, making it a client-side execution risk rather than an internet-facing attack surface.

Apache Httpclient

5.4 to before 5.6.4

Halo Surface Signal: 1 out of 5 — much less likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This vulnerability involves Apache HttpComponents Client, a component used for making outgoing network requests. When improperly configured, it may allow an attacker to impersonate a legitimate server, potentially leading to the interception of sensitive information. The primary concern is to determine if our organization utilizes this specific client library in its affected versions and to assess the potential exposure.

  • Flaw in making secure outgoing connections.
  • Could allow impersonation of trusted servers.
  • Confirm use and assess potential exposure.

Attack Path

How an attacker could exploit the issue

An attacker who can intercept and alter network traffic could trick an application using a vulnerable version of Apache HttpComponents Client into connecting to a malicious server that appears legitimate. This happens because the TLS hostname verification doesn't work correctly in the asynchronous version of the client. By presenting a valid certificate for a different domain, the attacker can impersonate the intended server, leading to a compromise of sensitive data and system integrity.

  • Attackers need to intercept network traffic.
  • Vulnerable async client fails hostname verification.
  • Compromised data and system integrity.

Live Threat

Current exploitation, exposure, and threat context

This vulnerability could allow an attacker to impersonate a legitimate server by presenting a valid certificate for a different domain. This occurs when the async version of Apache HttpComponents Client is used, as the `HostnameVerificationPolicy#BUILTIN` setting is ineffective. An attacker capable of intercepting and modifying network traffic could exploit this to deceive the client application.

  • Client application's outbound connections.
  • Intercepted and modified network traffic.
  • Compromised server impersonation.

Operational Fix

Recommended remediation, mitigation, and detection steps

Application owners and platform teams are likely responsible for addressing this vulnerability in Apache HttpComponents Client, as it affects client-side libraries used in applications initiating outbound requests. The first practical step is to identify applications utilizing the affected client library, determine their reachability and business criticality, locate the accountable owner, and then plan remediation based on the assessed risk.

  • Application owners should manage the issue.
  • Verify affected client library usage and exposure.
  • Plan remediation and coordinate with vendors.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is Apache HttpComponents Client?

Apache HttpComponents Client is a software library that developers integrate into their applications to handle outgoing network communications. It acts as a foundation for programs to send data to or request resources from web services and servers. Because it is a library, it is not a standalone application but a building block used by larger software systems to manage how they talk to the internet.

What does CWE-295 mean for CVE-2026-71290?

CWE-295 refers to Improper Certificate Validation. In the context of this CVE, it means the software fails to correctly confirm that the digital certificate presented by a server actually matches the domain name the application is trying to contact. Because the hostname verification step is bypassed, the application cannot reliably verify the identity of the server it is connecting to, which creates an opening for impersonation.

How does an attacker trigger this vulnerability?

An attacker triggers this by sitting in the middle of the network connection between the application and the server. They must be able to intercept and manipulate traffic. If the application uses the asynchronous version of the client, the attacker can present a valid certificate for a server they control, and the application will incorrectly accept it as the intended destination. Using the classic version of the client does not trigger this, as it handles verification properly.

Is this vulnerability internet-facing?

According to Halo Surface Signal, this is considered a client-side execution risk rather than a typical internet-facing service. Because this is a library embedded inside applications to make outbound requests, it does not function as a server exposed to direct inbound attacks. The primary risk is that the internal application might be deceived when connecting outward to external systems.

How do I fix CVE-2026-71290?

The most effective response is to update the library within your applications. Since this is a dependency, you must identify which of your software projects include Apache HttpComponents Client 5.4 or newer. Once identified, upgrade to version 5.6.4 or higher, which contains the fix for the hostname verification issue. Coordinate with your development teams to ensure these dependencies are updated and tested.

References