Missing Critical Step in Authentication Affecting org.apache.httpcomponents.client5:httpclient5 package, versions [5.6-alpha1,5.6.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (17th 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-16134546
  • published23 Apr 2026
  • disclosed23 Apr 2026
  • creditRasmus Moorats

Introduced: 23 Apr 2026

CVE-2026-40542  (opens in a new tab)
CWE-304  (opens in a new tab)

How to fix?

Upgrade org.apache.httpcomponents.client5:httpclient5 to version 5.6.1 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 Missing Critical Step in Authentication in the AuthenticationHandler's handleResponse() method. The client may accept SCRAM-SHA-256 authentication by default, without mutual verification.

CVSS Base Scores

version 4.0
version 3.1