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…

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: Wed Apr 22 2026 (04/22/2026, 07:07:21 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache HttpClient

Description

CVE-2026-40542 is a vulnerability in Apache HttpClient version 5. 6 where a critical step in the SCRAM-SHA-256 authentication process is missing. This flaw allows the client to accept authentication without proper mutual verification, potentially undermining the authentication mechanism. The Apache Software Foundation recommends upgrading to version 5. 6. 1 to address this issue. No known exploits are reported in the wild. The vulnerability is categorized under CWE-304, indicating a missing critical authentication step. Patch status is not explicitly confirmed in the advisory, but an upgrade to 5. 6.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/22/2026, 08:01:33 UTC

Technical Analysis

Apache HttpClient 5.6 contains a vulnerability (CVE-2026-40542) due to a missing critical step in the SCRAM-SHA-256 authentication process. This omission causes the client to accept authentication without proper mutual authentication verification, which could weaken the security of the authentication protocol. The issue is fixed in Apache HttpClient version 5.6.1, which users are recommended to upgrade to. No CVSS score is provided, and no known exploits have been reported.

Potential Impact

The vulnerability allows an attacker to bypass proper mutual authentication verification in the SCRAM-SHA-256 authentication mechanism when using Apache HttpClient 5.6. This could potentially lead to unauthorized access or impersonation if exploited. However, no known exploits in the wild have been reported to date.

Mitigation Recommendations

Users should upgrade Apache HttpClient from version 5.6 to version 5.6.1, which addresses this authentication flaw. Since the vendor advisory recommends this upgrade, applying this update is the primary mitigation. Patch status is not explicitly confirmed beyond this recommendation, so users should consult the official Apache advisory for the latest remediation details.

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

Threat ID: 69e87cbe19fe3cd2cd7bf96a

Added to database: 4/22/2026, 7:46:06 AM

Last enriched: 4/22/2026, 8:01:33 AM

Last updated: 4/22/2026, 9:53:50 AM

Views: 11

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