CVE-2026-40542: Apache HttpClient: SCRAM-SHA-256 mutual authentication bypass may cause the client to accept 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.
Security readout for executives and security teams
Plain-English summary
Apache HttpClient 5.6 has an authentication flaw that may let a client accept SCRAM-SHA-256 authentication without properly verifying mutual authentication. This can weaken trust in authenticated connections. The named fix is upgrading to Apache HttpClient 5.6.1.
Executive priority
Treat as high priority for applications relying on Apache HttpClient 5.6 in authentication-sensitive paths. Upgrade planning should be prompt, but the source bundle does not support emergency exploitation claims.
Technical view
The issue is a missing critical authentication step in Apache HttpClient 5.6 affecting SCRAM-SHA-256 mutual authentication verification. It is tracked as CWE-304 and CWE-325 with CVSS 3.1 score 7.3, network exploitable, low complexity, no privileges, and no user interaction.
Likely exposure
Exposure appears limited to applications using Apache HttpClient 5.6, including package org.apache.httpcomponents.client5:httpclient5, particularly where SCRAM-SHA-256 authentication is used. The bundle does not identify other affected versions or downstream products.
Exploitation context
The bundle does not report active exploitation, and KEV is false. CVSS indicates remote reachability and low attack complexity, but the provided sources do not include exploit availability or observed attacks.
Researcher notes
Focus validation on dependency resolution and SCRAM-SHA-256 mutual authentication paths. The available evidence names the vulnerable version and fixed version, but does not provide deeper protocol traces, exploit status, or downstream product mapping.
Mitigation direction
Upgrade Apache HttpClient to version 5.6.1.
Inventory uses of org.apache.httpcomponents.client5:httpclient5 version 5.6.
Prioritize systems using SCRAM-SHA-256 authentication flows.
Check Apache and distribution advisories for downstream package guidance.
Monitor Red Hat and vendor tracking for product-specific status.
Validation and detection
Search dependency manifests and lockfiles for httpclient5 version 5.6.
Confirm runtime artifacts do not bundle Apache HttpClient 5.6.
Review authentication configuration for SCRAM-SHA-256 usage.
Verify upgraded builds resolve to Apache HttpClient 5.6.1 or later.
Document any vendor-packaged instances pending advisory confirmation.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-304: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-304 · source CWE mapping
Missing Critical Step in Authentication
Missing Critical Step in Authentication represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Missing Cryptographic Step represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.