Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 63%

CVE-2026-40542: CWE-304: Missing Critical Step in Authentication in Apache Software Foundation Apache HttpClient

0
High
VulnerabilityCVE-2026-40542cvecve-2026-40542cwe-304
Published: 04/22/2026 (04/22/2026, 07:07:21 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected software

org.apache.httpcomponents/httpclient
pkg:maven/org.apache.httpcomponents/httpclient
Affected versions
=5.6

Run 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

AILast updated: 07/15/2026, 09:11:28 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses