Intel

AIKIDO-2026-78067

httpclient5 is vulnerable to Improper Certificate Validation

CVE-2026-71290Published Oct 5, 2026
October 5, 2026

91

CVE Score

Critical

Improper Certificate Validation

Are you affected? Scan for Free

TL;DR

AbstractClientTlsStrategy.upgrade copies TLS parameters onto the SSL engine before HostnameVerificationPolicy.BUILTIN sets endpoint identification, so the built-in hostname check never reaches the async handshake. An attacker who can intercept traffic can present a certificate for a different name and impersonate the server. The classic client is unaffected. The fix sets the endpoint identification algorithm before those parameters are applied.

How do I fix this?

Upgrade the org.apache.httpcomponents.client5:httpclient5 library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use the async HttpClient, including the default TLS configuration.

Versions

5.4 - 5.6.3

Fixed in 5.6.4

Background info

httpclient5 is vulnerable to Improper Certificate Validation in versions 5.4 - 5.6.3.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea