CVE-2026-40542
Apache HttpClient accepts SCRAM-SHA-256 authentication without proper mutual authentication verification
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.httpcomponents.client5 » httpclient5 | >= 5.6-alpha1, < 5.6.1 | 5.6.1 |
Blast radius
12% of the dependent artifacts (253) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 2,676 |
| 2 hops | 4,562 |
| 3 hops | 8,114 |
| 4 hops | 2,549 |
| 5 hops | 1,327 |
| 6 hops | 56 |
Most used dependents
- org.springframework.boot » spring-boot-maven-plugin8,670 usages
- com.github.tomakehurst » wiremock1,840 usages
- org.owasp » dependency-check-maven1,292 usages
- org.wiremock » wiremock735 usages
- io.github.bonigarcia » webdrivermanager586 usages
- org.apereo.cas » cas-server-core-util-api492 usages
- org.xwiki.platform » xwiki-platform-oldcore449 usages
- org.apereo.cas » cas-server-core-configuration-api442 usages
- org.apereo.cas » cas-server-core-authentication-api400 usages
- co.elastic.clients » elasticsearch-java311 usages
- org.apereo.cas » cas-server-core-util296 usages
- org.apereo.cas » cas-server-core-web-api288 usages
- org.apereo.cas » cas-server-core-services280 usages
- org.apereo.cas » cas-server-core-configuration264 usages
- org.apereo.cas » cas-server-core-services-api243 usages
Computed from the dependency graph of build 20261129.0021 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2026-40542 | nvd.nist.gov |
| Package | apache/httpcomponents-client | github.com |
| Web | apache/httpcomponents-client commit 726eac2 | github.com |
| Web | thread/tfmgv86xr0z1y096vs3z0y315t1v3o97 | lists.apache.org |
| Web | lists/oss-security/2026/04/22/5 | openwall.com |
