CVE-2026-40542: Apache HttpClient - Authentication Bypass
- Cve: CVE-2026-40542
- Name: Apache HttpClient - Authentication Bypass
- 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.
- Impact: Attackers can bypass mutual authentication, potentially allowing unauthorized access or impersonation.
- Remediation: Upgrade to version 5.6.1.
- Vulnerability type: broken_authentication
- Vulnerability impact: broken_authentication
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Epss score: 0.00546
- Epss percentile: 0.46392
- Assignee: [email protected]
- Published at: 2026-04-22T08:16:12Z
- Age in days: 216
- Modified at: 2026-10-26T21:10:00Z
- References total: 16
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-40542
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-304 | Missing Critical Step in Authentication |
| CWE-325 | Missing Cryptographic Step |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:httpclient | = 5.6 | no | nvd | /v1/products/apache/httpclient |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/httpcomponents-client | commit, package | yes | /v1/repositories/apache/httpcomponents-client |
Index
- Repositories: 110
- Repositories high signal: 96
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts