CVE-2026-71290
9.1Apache Software Foundation · Apache HttpComponents Client
Apache HttpComponents Client fails to properly perform TLS hostname verification when using the async HttpClient, allowing attackers to impersonate servers via valid certificates for different domains.
Executive summary
A critical TLS hostname verification flaw in Apache HttpComponents Client allows unauthenticated attackers to perform man-in-the-middle attacks and impersonate legitimate servers.
Vulnerability
This vulnerability involves improper certificate validation (CWE-295) occurring within the async version of the HttpClient library. An unauthenticated attacker capable of intercepting network traffic can bypass hostname verification and successfully impersonate a server by presenting a certificate valid for a different domain.
Business impact
Successful exploitation allows an attacker to intercept, view, and modify sensitive data in transit between the client and the server. Given the CVSS score of 9.1, this vulnerability poses a severe risk to confidentiality and integrity, potentially leading to unauthorized access to credentials or private information, which could result in significant reputational or financial damage.
Remediation
Immediate Action: Update the Apache HttpComponents Client library to version 5.6.4 or later, as this release contains the necessary fix for the hostname verification policy.
Proactive Monitoring: Review application network logs for unusual TLS handshake patterns or unexpected certificate errors that may indicate active man-in-the-middle attempts.
Compensating Controls: Ensure that all communication channels utilize strict TLS configurations and consider implementing certificate pinning where feasible to mitigate the impact of failed hostname verification.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
Due to the critical nature of this vulnerability and the potential for total compromise of traffic integrity, organizations should prioritize the update to version 5.6.4 immediately. Verify that your development teams are not relying on the classic version of the library if they believe they are affected, as only the async version is vulnerable. Consistent patch management is essential to protecting data in transit from interception by malicious actors.
More Apache Software Foundation CVEs
Sources
Originally found and disclosed by n0mi1k, per the CVE Program record.