Every CVE Search/ Get API key

CVE-2026-40542

Apache HttpClient: SCRAM-SHA-256 mutual authentication bypass may cause the client to accept authentication without proper mutual authentication verification

7.3 HighFix available

Missing critical step in authentication in Apache HttpClient 5.6 allows an attacker to cause the client to accept SCRAM-SHA-256 authentication without proper mutual authentication verification. Users are recommended to upgrade to version 5.6.1, which fixes this issue.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
Low

Exploit likelihood

0.54%Up 0.5 points since Apr 22, 2026
90%50%10%1%

What each source reports

CVE List Score used 7.3

Apache HttpClient: SCRAM-SHA-256 mutual authentication bypass may cause the client to accept authentication without proper mutual authentication verification

Missing critical step in authentication in Apache HttpClient 5.6 allows an attacker to cause the client to accept SCRAM-SHA-256 authentication without proper mutual authentication verification. Users are recommended to upgrade to version 5.6.1, which fixes this issue.

Record
CVE-2026-40542
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-304, CWE-325
Updated
2026-11-02
EUVDEUVD-2026-24630 7.3

Missing critical step in authentication in Apache HttpClient 5.6 allows an attacker to cause the client to accept SCRAM-SHA-256 authentication without proper mutual authentication verification. Users are recommended to upgrade to version 5.6.1, which fixes this issue.

Record
EUVD-2026-24630
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
GitHub AdvisoriesGHSA-v468-qcjx-r72w 7.3

Apache HttpClient accepts SCRAM-SHA-256 authentication without proper mutual authentication verification

Missing critical step in authentication in Apache HttpClient 5.6 allows an attacker to cause the client to accept SCRAM-SHA-256 authentication without proper mutual authentication verification. Users are recommended to upgrade to version 5.6.1, which fixes this issue.

Record
GHSA-v468-qcjx-r72w
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-304
Updated
2026-11-02
NVD 7.3

Missing critical step in authentication in Apache HttpClient 5.6 allows an attacker to cause the client to accept SCRAM-SHA-256 authentication without proper mutual authentication verification. Users are recommended to upgrade to version 5.6.1, which fixes this issue.

Record
CVE-2026-40542
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-304, CWE-325
Updated
2026-11-02
OSV 7.3

Apache HttpClient: SCRAM-SHA-256 mutual authentication bypass may cause the client to accept authentication without proper mutual authentication verification

Missing critical step in authentication in Apache HttpClient 5.6 allows an attacker to cause the client to accept SCRAM-SHA-256 authentication without proper mutual authentication verification. Users are recommended to upgrade to version 5.6.1, which fixes this issue.

Record
CVE-2026-40542
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-304
Updated
2026-11-02
OSVGHSA-v468-qcjx-r72w 7.3

Apache HttpClient accepts SCRAM-SHA-256 authentication without proper mutual authentication verification

Missing critical step in authentication in Apache HttpClient 5.6 allows an attacker to cause the client to accept SCRAM-SHA-256 authentication without proper mutual authentication verification. Users are recommended to upgrade to version 5.6.1, which fixes this issue.

Record
GHSA-v468-qcjx-r72w
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-304
Updated
2026-11-02
OSVRHLW-2026-2a7b95611000d6b5 7.3

Lightwell Security Advisory: httpclient5 5.6.0.rhlw-00001

Red Hat Lightwell has released org.apache.httpcomponents.client5:httpclient5 5.6.0.rhlw-00001 with backported fixes for CVE-2026-40542 and CVE-2026-64607.

CVE-2026-40542: Apache HttpClient: SCRAM-SHA-256 mutual authentication bypass may cause the client to accept authentication without proper mutual authentication verification

CVE-2026-64607: Apache HttpComponents Client: Connection Leak on Content-Encoding Decode Error Leads to Pool Exhaustion DoS

This patched artifact is a drop-in replacement for org.apache.httpcomponents.client5:httpclient5 5.6.0 from Maven Central.

Record
RHLW-2026-2a7b95611000d6b5
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVUBUNTU-CVE-2026-40542 7.3

Missing critical step in authentication in Apache HttpClient 5.6 allows an attacker to cause the client to accept SCRAM-SHA-256 authentication without proper mutual authentication verification. Users are recommended to upgrade to version 5.6.1, which fixes this issue.

Record
UBUNTU-CVE-2026-40542
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02
OSVROOT-APP-MAVEN-CVE-2026-40542 No score

CVE-2026-40542 in org.apache.httpcomponents.client5:httpclient5 - Patched by Root

Root has patched CVE-2026-40542 in the org.apache.httpcomponents.client5:httpclient5 package for Root:Maven. Multiple fixed versions available.

Record
ROOT-APP-MAVEN-CVE-2026-40542
Updated
2026-11-02

Affected products

Show 37 moreShow less

Affected packages

Affected packages
PackageAffectedFixed
org.apache.httpcomponents.client5:httpclient5
Maven
5.6-alpha1 up to 5.6.1
5.6.1
org.apache.httpcomponents.client5:httpclient5
Maven
5.6-alpha1 up to 5.6.1, plus listed versions
5.6
5.6.1
org.apache.httpcomponents.client5:httpclient5
Red Hat Lightwell:Maven
From an advisory covering 2 CVEs
before 5.6.0.rhlw-00001, plus listed versions
5.05.0-alpha15.0-alpha25.0-alpha35.0-beta1
Show 40 moreShow less
5.0-beta25.0-beta35.0-beta45.0-beta55.0-beta65.0-beta75.0.15.0.25.0.35.0.45.15.1-beta15.1.15.1.25.1.35.1.45.25.2-alpha15.2-beta15.2.15.2.25.2.35.35.3-alpha15.3.15.45.4-alpha15.4-alpha25.4-beta15.4.15.4.25.4.35.4.45.55.5-alpha15.5.15.5.25.65.6-alpha15.6.0
5.6.0.rhlw-00001
org.apache.httpcomponents.client5:httpclient5
Root:Maven
before 5.6.1-aikido.1
5.6.1-aikido.1
io.root.org.apache.httpcomponents.client5:httpclient5
Root:Maven
before 5.6.1-root.io.1
5.6.1-root.io.1
httpcomponents-client
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
4.2.5-24.3.2-14.3.3-14.3.3-1ubuntu0.14.3.3-1ubuntu0.1+esm14.3.3-1ubuntu0.1+esm2
None known
httpcomponents-client
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
4.4.1-14.5.1-14.5.1-1ubuntu0.1~esm1
None known
httpcomponents-client
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
4.5.3-14.5.4-14.5.5-14.5.5-1ubuntu0.1~esm1
None known
httpcomponents-client
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
4.5.9-14.5.10-24.5.11-14.5.11-1ubuntu0.1~esm1
None known
httpcomponents-client
Ubuntu:22.04:LTS
All versions, plus listed versions
4.5.13-24.5.13-3
None known
Show 4 moreShow less
Affected packages
PackageAffectedFixed
httpcomponents-client
Ubuntu:24.04:LTS
All versions, plus listed versions
4.5.14-1
None known
httpcomponents-client
Ubuntu:25.10
All versions, plus listed versions
4.5.14-1
None known
httpcomponents-client
Ubuntu:26.10
All versions, plus listed versions
4.5.14-1build1
None known
httpcomponents-client
Ubuntu:26.04:LTS
All versions, plus listed versions
4.5.14-14.5.14-1build1
None known

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-40542 is a high vulnerability (CVSS 7.3) in Apache Httpclient, published April 22, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.54%, the 45th percentile. Fixed in org.apache.httpcomponents.client5:httpclient5 5.6.1.

References

Show 22 moreShow less
MoveEnter Open