CVE-2026-71290: CWE-295 Improper Certificate Validation in Apache Software Foundation Apache HttpComponents Client
Improper TLS hostname verification vulnerability in Apache HttpComponents Client 5.4 or newer. HostnameVerificationPolicy#BUILTIN setting has no effect when used with the async version of HttpClient. An attacker that can intercept and modify traffic between the client and the server can impersonate the server by presenting a valid certificate for a different domain. Please note the classic version of HttpClient is not affected by this vulnerability. Affected users are recommended to upgrade to at least version 5.6.4, which fixes the issue.
AI Analysis
Technical Summary
This vulnerability involves improper TLS hostname verification in the async version of Apache HttpComponents Client starting from version 5.4-alpha. Specifically, the HostnameVerificationPolicy#BUILTIN setting does not function as intended, enabling a man-in-the-middle attacker to impersonate a legitimate server by presenting a valid certificate issued for a different domain. The classic HttpClient is unaffected. The vendor recommends upgrading to at least version 5.6.4 where the issue is fixed.
Potential Impact
An attacker capable of intercepting and modifying traffic between the client and server can impersonate the server by presenting a valid certificate for a domain other than the intended one. This undermines the trust model of TLS, potentially leading to sensitive data exposure or session hijacking. The impact is limited to the async HttpClient in affected versions; the classic HttpClient is not vulnerable.
Mitigation Recommendations
Users should upgrade Apache HttpComponents Client to version 5.6.4 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is indicated. Patch status is not explicitly stated but the vendor recommends upgrading to 5.6.4, which implies an official fix is available in that version.
CVE-2026-71290: CWE-295 Improper Certificate Validation in Apache Software Foundation Apache HttpComponents Client
Description
Improper TLS hostname verification vulnerability in Apache HttpComponents Client 5.4 or newer. HostnameVerificationPolicy#BUILTIN setting has no effect when used with the async version of HttpClient. An attacker that can intercept and modify traffic between the client and the server can impersonate the server by presenting a valid certificate for a different domain. Please note the classic version of HttpClient is not affected by this vulnerability. Affected users are recommended to upgrade to at least version 5.6.4, which fixes the issue.
CVSS v3.1
Score 9.1critical
Affected software
pkg:maven/Apache Software Foundation/org.apache.httpcomponents.client5:httpclient5Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves improper TLS hostname verification in the async version of Apache HttpComponents Client starting from version 5.4-alpha. Specifically, the HostnameVerificationPolicy#BUILTIN setting does not function as intended, enabling a man-in-the-middle attacker to impersonate a legitimate server by presenting a valid certificate issued for a different domain. The classic HttpClient is unaffected. The vendor recommends upgrading to at least version 5.6.4 where the issue is fixed.
Potential Impact
An attacker capable of intercepting and modifying traffic between the client and server can impersonate the server by presenting a valid certificate for a domain other than the intended one. This undermines the trust model of TLS, potentially leading to sensitive data exposure or session hijacking. The impact is limited to the async HttpClient in affected versions; the classic HttpClient is not vulnerable.
Mitigation Recommendations
Users should upgrade Apache HttpComponents Client to version 5.6.4 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is indicated. Patch status is not explicitly stated but the vendor recommends upgrading to 5.6.4, which implies an official fix is available in that version.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-08-05T12:30:56.682Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7b8c91bf8831d539668d33
Added to database: 08/11/2026, 20:56:49 UTC
Last enriched: 08/11/2026, 21:12:14 UTC
Last updated: 09/08/2026, 22:52:14 UTC
Views: 74
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.