CVE-2026-71290 PUBLISHED

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

Assigner: apache
Reserved: 05.08.2026 Published: 11.08.2026 Updated: 11.08.2026

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.

Product Status

Vendor Apache Software Foundation
Product Apache HttpComponents Client
Versions Default: unaffected
  • affected from 5.4-alpha to 5.6.3 (incl.)

Credits

  • n0mi1k finder

References

Problem Types

  • CWE-295 Improper Certificate Validation CWE