CVE-2026-40542: Apache HttpClient: SCRAM-SHA-256 mutual authentication bypass may cause the client to accept authentication without proper mutual authentication verification
Vulnerability summary
CVE-2026-40542 is a high (CVSS 7.3) Missing Critical Step in Authentication vulnerability in apache software foundation apache httpclient. EPSS estimates a 0.55% chance of exploitation in the next 30 days, higher than 47.2% of scored vulnerabilities.
Severe, CVSS 7.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 22-04-2026PublishedVulnerability first disclosed.
- 09-09-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.3HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- OSV · WolfiEcosystem advisory · calculated7.3HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- OSV · ChainguardEcosystem advisory · calculated7.3HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- OSV · MavenEcosystem advisory · calculated7.3HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- NVDNIST7.3HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS trend
Probability
0.55%
Chance of exploitation in the next 30 days
Percentile
47%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.54% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-304Missing Critical Step in AuthenticationThe product implements an authentication technique, but it skips a step that weakens the technique.
- CWE-325Missing Cryptographic StepThe product does not implement a required step in a cryptographic algorithm, resulting in weaker encryption than advertised by the algorithm.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard35 products
- apache-nifi< 2.9.0-r7
- dependency-track< 4.14.1-r2
- dependency-track-apiserver< 4.14.1-r1
- dependency-track-bundled< 4.14.1-r2
- jbang< 0.139.3-r1
Wolfi22 products
- apache-nifi< 2.9.0-r7
- dependency-track< 4.14.1-r2
- dependency-track-bundled< 4.14.1-r2
- opensearch-3< 3.6.0-r2
- opensearch-3-alerting< 3.6.0-r2
Apache1 product
- httpclient5.6
Apache software foundation1 product
- apache httpclient≥ 5.6, < 5.6.1
Org.apache.httpcomponents.client51 product
- httpclient5≥ 5.6-alpha1, < 5.6.1
Ubuntu1 product
- httpcomponents-clientAll versions (No fix recorded)
6 vendors · 61 products
References
23 links- lists.apache.org/thread/tfmgv86xr0z1y096vs3z0y315t1v3o97Vendor AdvisoryREPORTAdvisoryWEBMailing List