Apache HttpClient 5.6.0 SCRAM-SHA-256 Authentication critical step in authentication

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.1 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as critical has been discovered in Apache HttpClient 5.6.0. Affected is an unknown function of the component SCRAM-SHA-256 Authentication. Executing a manipulation can lead to critical step in authentication. This vulnerability is handled as CVE-2026-40542. The attack can be executed remotely. There is not any exploit available. It is advisable to upgrade the affected component.
Details
A vulnerability classified as critical was found in Apache HttpClient 5.6.0. This vulnerability affects an unknown functionality of the component SCRAM-SHA-256 Authentication. The manipulation with an unknown input leads to a critical step in authentication vulnerability. The CWE definition for the vulnerability is CWE-304. The product implements an authentication technique, but it skips a step that weakens the technique. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
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.
The weakness was released by Rasmus Moorats. The advisory is available at lists.apache.org. This vulnerability was named CVE-2026-40542 since 04/14/2026. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. The technical details are unknown and an exploit is not available. The structure of the vulnerability defines a possible price range of USD $0-$5k at the moment (estimation calculated on 07/02/2026). This issue was introduced with commit https://github.com/apache/httpcomponents-client/commit/5e73e17ae6c3886b8217d026a713303fd903ca4b
The vulnerability scanner Nessus provides a plugin with the ID 310832 (Linux Distros Unpatched Vulnerability : CVE-2026-40542), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 5.6.1 eliminates this vulnerability. Applying the patch 726eac2323d370435d8afca1e0540aa099927f18 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Tenable (310832). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Vendor
Name
Version
License
Website
- Vendor: https://www.apache.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 7.1
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
ADP CISA Base Score: 7.3
ADP CISA Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Critical step in authenticationCWE: CWE-304
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 310832
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2026-40542
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: HttpClient 5.6.1
Patch: 726eac2323d370435d8afca1e0540aa099927f18
Timeline
04/14/2026 CVE reserved04/22/2026 Advisory disclosed
04/22/2026 VulDB entry created
07/02/2026 VulDB entry last update
Sources
Vendor: apache.orgAdvisory: lists.apache.org
Researcher: Rasmus Moorats
Status: Confirmed
CVE: CVE-2026-40542 (🔒)
GCVE (CVE): GCVE-0-2026-40542
GCVE (VulDB): GCVE-100-358786
Entry
Created: 04/22/2026 12:02Updated: 07/02/2026 11:27
Changes: 04/22/2026 12:02 (55), 04/23/2026 05:54 (4), 04/29/2026 20:34 (2), 07/02/2026 11:27 (10)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.