CVE-2026-40542: 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.
Published Apr 22, 2026 · Updated Apr 29, 2026
Affected packages
org.apache.httpcomponents.client5:httpclient5
- Ecosystem
- Maven
- Affected
- >= 5.6-alpha1, < 5.6.1
- Fixed in
- 5.6.1
- Check
mvn dependency:tree -Dincludes=org.apache.httpcomponents.client5:httpclient5
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
