CVE-2026-40542: CWE-304: Missing Critical Step in Authentication in Apache Software Foundation Apache HttpClient
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.
AI Analysis
Technical Summary
CVE-2026-40542 is a vulnerability in Apache HttpClient 5.6 involving a missing critical step in the SCRAM-SHA-256 authentication process. This omission causes the client to accept authentication without proper mutual authentication verification, potentially allowing an attacker to bypass authentication guarantees. The vulnerability is categorized under CWE-304 (Missing Authentication for Critical Function) and CWE-325 (Missing Required Cryptographic Step). The CVSS v3.1 base score is 7.3 (High), reflecting network attack vector, low attack complexity, no privileges or user interaction required, and impacts on confidentiality, integrity, and availability. The vendor advisory from Red Hat recommends upgrading to version 5.6.1, which addresses the issue.
Potential Impact
The vulnerability allows an attacker to bypass proper mutual authentication in SCRAM-SHA-256, potentially leading to unauthorized access or impersonation. This impacts the confidentiality, integrity, and availability of communications relying on Apache HttpClient 5.6 for authentication.
Mitigation Recommendations
Users should upgrade Apache HttpClient from version 5.6 to 5.6.1 or later, where this vulnerability is fixed. No other mitigations are specified in the vendor advisory. Patch status is confirmed by the vendor advisory recommending upgrade to 5.6.1.
CVE-2026-40542: CWE-304: Missing Critical Step in Authentication in Apache Software Foundation Apache HttpClient
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 v3.1
Score 7.3high
Affected software
pkg:maven/org.apache.httpcomponents/httpclientRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-40542 is a vulnerability in Apache HttpClient 5.6 involving a missing critical step in the SCRAM-SHA-256 authentication process. This omission causes the client to accept authentication without proper mutual authentication verification, potentially allowing an attacker to bypass authentication guarantees. The vulnerability is categorized under CWE-304 (Missing Authentication for Critical Function) and CWE-325 (Missing Required Cryptographic Step). The CVSS v3.1 base score is 7.3 (High), reflecting network attack vector, low attack complexity, no privileges or user interaction required, and impacts on confidentiality, integrity, and availability. The vendor advisory from Red Hat recommends upgrading to version 5.6.1, which addresses the issue.
Potential Impact
The vulnerability allows an attacker to bypass proper mutual authentication in SCRAM-SHA-256, potentially leading to unauthorized access or impersonation. This impacts the confidentiality, integrity, and availability of communications relying on Apache HttpClient 5.6 for authentication.
Mitigation Recommendations
Users should upgrade Apache HttpClient from version 5.6 to 5.6.1 or later, where this vulnerability is fixed. No other mitigations are specified in the vendor advisory. Patch status is confirmed by the vendor advisory recommending upgrade to 5.6.1.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-04-14T09:11:14.268Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-40542","vendor":"Red Hat"}]
Threat ID: 69e87cbe19fe3cd2cd7bf96a
Added to database: 04/22/2026, 07:46:06 UTC
Last enriched: 07/15/2026, 09:11:28 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 304
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.