Intel

AIKIDO-2026-78067

httpclient5 is vulnerable to Improper Certificate Validation

Improper Certificate ValidationCVE-2026-71290 Published 2 days ago

91

Critical Risk

This Affects:

JAVAhttpclient5
5.4 - 5.6.3
Fixed in 5.6.4
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.

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.

Background info

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

How to fix this

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

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform