cve.bz

CVE-2026-40542 apache httpclient: Missing Critical Step in Authentication

7.3 highEPSS 0.5%Fix available

High (7.3) in apache httpclient. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.httpcomponents.client5:httpclient5 5.6.1.

On this page
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.

Severity

CVSS 3.1

7.3 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
0.5% (unchanged from 0.5% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 46th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-04-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-304 Missing Critical Step in Authentication
CWE-325 Missing Cryptographic Step
OWASP Top 10
A04:2025 Cryptographic Failures, A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-40542 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40542?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40542?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40542 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-40542

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-40542](https://cve.bz/cve/badge/CVE-2026-40542.svg)](https://cve.bz/cve/CVE-2026-40542)

HTML:

<a href="https://cve.bz/cve/CVE-2026-40542"><img src="https://cve.bz/cve/badge/CVE-2026-40542.svg" alt="CVE-2026-40542"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache HttpClientfrom 5.6 before 5.6.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v468-qcjx-r72wMavenorg.apache.httpcomponents.client5:httpclient5>=5.6-alpha1 <5.6.15.6.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 6 morehttpcomponents-clientno fix listedUBUNTU-CVE-2026-40542

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
OpenShift Developer Tools and Services 4.12ocp-tools-4/jenkins-rhel8:1786628667Fixed 2026-08-26RHSA-2026:60247
OpenShift Developer Tools and Services 4.13ocp-tools-4/jenkins-rhel8:1786628681Fixed 2026-08-26RHSA-2026:60249
OpenShift Developer Tools and Services 4.14ocp-tools-4/jenkins-rhel8:1786533561Fixed 2026-08-26RHSA-2026:60248
OpenShift Developer Tools and Services 4.15ocp-tools-4/jenkins-rhel8:1786533565Fixed 2026-08-26RHSA-2026:60239
OpenShift Developer Tools and Services 4.16ocp-tools-4/jenkins-rhel9:1787125166Fixed 2026-08-26RHSA-2026:60251
OpenShift Developer Tools and Services 4.17ocp-tools-4/jenkins-rhel9:1787124635Fixed 2026-08-26RHSA-2026:60246
OpenShift Developer Tools and Services 4.18ocp-tools-4/jenkins-rhel9:1787125069Fixed 2026-08-26RHSA-2026:60250
OpenShift Developer Tools and Services 4.19ocp-tools-4/jenkins-rhel9:1787124632Fixed 2026-08-26RHSA-2026:60252
OpenShift Developer Tools and Services 4.20ocp-tools-4/jenkins-rhel9:1787124925Fixed 2026-08-26RHSA-2026:60259
OpenShift Developer Tools and Services 4.21ocp-tools-4/jenkins-rhel9:1787125311Fixed 2026-08-26RHSA-2026:60254
Cryostat 4httpclientNot affected
Migration Toolkit for Applications 8mta/mta-cli-rhel9Not affected
Migration Toolkit for Applications 8mta/mta-java-external-provider-rhel9Not affected
OpenShift Developer Tools and ServicesjenkinsAffected
OpenShift Developer Tools and Servicesjenkins-2-pluginsAffected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-ddb-streams-source-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-s3-sink-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-s3-source-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sns-sink-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sqs-sink-rhel9Not affected
74 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-40542.

Attack patterns (CAPEC)

  • CAPEC-68 Subvert Code-signing Facilities Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON