Skip to main content

Apache HttpClient CVE-2026-40542

| EUVDEUVD-2026-24630 HIGH
Missing Critical Step in Authentication (CWE-304)
2026-04-22 apache GHSA-v468-qcjx-r72w
7.3
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Achieve MITM network position
  2. Delivery
    Intercept SCRAM-SHA-256 handshake
  3. Exploit
    Forge server proof message
  4. Execution
    Client accepts invalid authentication
  5. Persist
    Impersonate legitimate server
  6. Impact
    Intercept/manipulate authenticated session data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Critical step enforcement
Exploitation Conditions

Exploitation requires the target application to use Apache HttpClient 5.6 specifically configured with SCRAM-SHA-256 as the authentication mechanism. Attacker must achieve man-in-the-middle network position between client and authentication server, typically via ARP spoofing, DNS hijacking, rogue WiFi access points, or compromised network infrastructure. Applications using alternative authentication methods (Basic Auth, Digest Auth, OAuth, Kerberos, or TLS client certificates) are not vulnerable. Default HttpClient configurations that do not enable SCRAM authentication are unaffected. The network-accessible attack vector (AV:N) with low complexity (AC:L) and no authentication requirement (PR:N) means once MITM position is achieved, exploitation succeeds without further credentials or specialized conditions.

Impact

CVSS 7.3 reflects network-accessible exploitation (AV:N) with low complexity (AC:L) requiring no authentication (PR:N) or user interaction (UI:N), resulting in partial impact across all CIA triad components (C:L/I:L/A:L). However, EPSS 0.03% (8th percentile) indicates minimal current exploitation observed in the wild, suggesting attackers have not yet widely incorporated SCRAM protocol manipulation into exploit frameworks. No CISA KEV listing confirms this is not part of active ransomware or APT campaigns at time of analysis. The availability of a vendor-published advisory with technical details and patch availability increases future exploitation probability as security researchers analyze the authentication bypass mechanism. Real-world risk depends heavily on whether target applications use SCRAM-SHA-256 authentication - deployments using Basic Auth, OAuth, or other mechanisms are unaffected. Priority is moderate: patch during next maintenance window for internet-facing HttpClient deployments, but not emergency-level given low observed exploitation and partial impact scope.

Exploit ScenarioDerived

An attacker operating a man-in-the-middle position on the network path between an Apache HttpClient 5.6 application and its authentication server intercepts SCRAM-SHA-256 handshake traffic. When the client sends authentication credentials, the attacker responds with a fabricated server proof message without possessing the shared secret. Due to the missing verification step, the HttpClient accepts the invalid proof and proceeds as if mutual authentication succeeded, allowing the attacker to impersonate the legitimate server and capture or manipulate subsequent authenticated requests. Publicly available vendor advisory provides sufficient technical detail for attackers to construct proof-of-concept exploits targeting unpatched clients.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 22, 2026

Apache HttpClient 5.6 skips mutual authentication verification in SCRAM-SHA-256 handshakes, allowing network attackers to impersonate legitimate servers without credentials. Affected clients accept unauthenticated server responses, enabling man-in-the-middle attacks that compromise confidentiality and integrity of authenticated sessions. Apache released patched version 5.6.1 addressing the missing authentication check. EPSS score of 0.03% suggests low current exploitation activity, though the network-accessible attack surface (AV:N/AC:L/PR:N) and availability of detailed vendor advisory increase exploitation risk once attackers adapt tooling for SCRAM protocol manipulation.

RemediationAI

Upgrade Apache HttpClient to version 5.6.1 immediately, as confirmed by Apache Software Foundation advisory at https://lists.apache.org/thread/tfmgv86xr0z1y096vs3z0y315t1v3o97. For environments unable to apply the patch, implement network-level compensating controls by restricting HttpClient connections to explicitly trusted server IP addresses using firewall rules or application-layer allowlists, reducing man-in-the-middle attack surface. Alternatively, disable SCRAM-SHA-256 authentication and migrate to TLS client certificate authentication or OAuth 2.0 flows that do not rely on HttpClient's SCRAM implementation, though this requires application code changes and may break compatibility with backend services expecting SCRAM credentials. Monitor authentication failures and unexpected certificate warnings as potential exploitation indicators. No workaround fully mitigates risk without patching - compensating controls only reduce attack surface.

Affected VersionsENISA

Apache HttpClient 5.6 <5.6.1

Affected Packages

maven org.apache.httpcomponents.client5:httpclient5 fix: 5.6.1
euvd apache_httpclient fix: 5.6.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SCRAM-SHA-256 (Salted Challenge Response Authentication Mechanism) is a mutual authentication protocol where both client and server prove identity through cryptographic challenge-response exchanges. CWE-304 (Missing Critical Step in Authentication) indicates Apache HttpClient 5.6 fails to validate server proof messages during the final SCRAM handshake phase. Per CPE data, this affects apache_httpclient 5.6 specifically in the a:apache_software_foundation namespace. The vulnerability allows attackers to complete authentication flows without possessing valid credentials by exploiting the client's incomplete verification logic. SCRAM protocols rely on both client and server computing matching proof values derived from shared secrets - omitting server proof validation breaks the mutual authentication guarantee that distinguishes SCRAM from simpler challenge-response schemes.

Know when Apache Httpclient gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 7.3 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
SUSE HIGH
Red Hat 7.3 HIGH

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

4
Patch released
May 01, 2026 - 17:12 nvd
Patch available
CVSS changed
Apr 22, 2026 - 15:22 NVD
7.3 (HIGH)
Patch available
Apr 22, 2026 - 09:01 EUVD
CVE Published
Apr 22, 2026 - 07:07 nvd
HIGH 7.3

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 4 maven packages depend on org.apache.httpcomponents.client5:httpclient5 (4 direct, 0 indirect)

Ecosystem-wide dependent count for version 5.6-alpha1.

Executive ViewAI

Why It Matters

Apache HttpClient 5.6 fails to verify server identity during SCRAM-SHA-256 authentication, allowing attackers to impersonate servers and intercept encrypted communications without valid credentials. Organizations using this library in client applications face man-in-the-middle attacks that bypass authentication controls, exposing sensitive data and authenticated sessions to compromise regardless of other security measures.

Business Impact: High
Compensating Controls

Apply vendor patch. Interim mitigations if patch delay unavoidable: (1) disable SCRAM-SHA-256 authentication and require alternative mechanisms (e.g., TLS client certificates, OAuth 2.0); (2) enforce strict network segmentation restricting HttpClient connections to internal, trusted servers only; (3) monitor network traffic for suspicious SCRAM handshake patterns or certificate validation failures; (4) implement mutual TLS (mTLS) enforcement at connection initiation to force cryptographic server verification independent of application-level checks.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Module for Basesystem 15 SP7 Fixed
SUSE Linux Enterprise Server 15 SP7 Fixed
SUSE Linux Enterprise Server 16.0 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy