Improper Certificate Validation Affecting org.apache.httpcomponents.client5:httpclient5 package, versions [,5.6.4)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHEHTTPCOMPONENTSCLIENT5-19432178
  • published30 Aug 2026
  • disclosed11 Aug 2026
  • creditUnknown

Introduced: 11 Aug 2026

CVE-2026-71290  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade org.apache.httpcomponents.client5:httpclient5 to version 5.6.4 or higher.

Overview

org.apache.httpcomponents.client5:httpclient5 is a HttpClient component of the Apache HttpComponents project.

Affected versions of this package are vulnerable to Improper Certificate Validation due to the HostnameVerificationPolicy#BUILTIN setting having no effect in the async transport. An attacker can impersonate a server by intercepting and modifying traffic, presenting a valid certificate for a different domain.

CVSS Base Scores

version 4.0
version 3.1