9.1Critical

CVE-2026-71290Apache HttpComponents Client: TLS hostname verification silently disabled on the async transport (default config, MITM)

Apache Software Foundation Apache HttpComponents Client Published: (3 months ago)

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.

Weakness (CWE): CWE-295

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Apache Software Foundation Apache HttpComponents Client 5.4-alpha – ≤ 5.6.3
apache httpclient 5.4 – < 5.6.4

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:apache:httpclient:*:*:*:*:*:*:*:* ≥ 5.4 < 5.6.4