CVE-2026-40542
CVE-2026-40542 is a high-severity vulnerability in Apache Httpclient with a CVSS 3.x base score of 7.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-304.
Key facts
- Severity: High (CVSS 3.x base score 7.3)
- EPSS exploit prediction: 0% (36th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-24630
- Weakness: CWE-304
- Affected product: Apache Httpclient
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-40542?
- 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.
- How severe is CVE-2026-40542?
- CVE-2026-40542 has a CVSS 3.x base score of 7.3, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability low.
- Is CVE-2026-40542 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (36th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-40542?
- CVE-2026-40542 affects Apache Httpclient. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-40542?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-40542 have an EU (EUVD) identifier?
- Yes. CVE-2026-40542 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-24630.
- When was CVE-2026-40542 published?
- CVE-2026-40542 was published on 2026-04-22 and last updated on 2026-06-30.
References
- https://lists.apache.org/thread/tfmgv86xr0z1y096vs3z0y315t1v3o97
- http://www.openwall.com/lists/oss-security/2026/04/22/5
- https://access.redhat.com/security/cve/CVE-2026-40542
- https://bugzilla.redhat.com/show_bug.cgi?id=2460518
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40542.json
Affected products (1)
- cpe:2.3:a:apache:httpclient:5.6:-:*:*:*:*:*:*
More vulnerabilities in Apache Httpclient
- CVE-2013-4366 — Critical (CVSS 9.8): http/impl/client/HttpClientBuilder.java in Apache HttpClient 4.3.x before 4.3.1 does not ensure that…
- CVE-2025-27820 — High (CVSS 7.5): A bug in PSL validation logic in Apache HttpClient 5.4.x disables domain checks, affecting cookie management and host…
- CVE-2014-3577 — Medium (CVSS 5.8): org.apache.http.conn.ssl.AbstractVerifier in Apache HttpComponents HttpClient before 4.3.5 and HttpAsyncClient before…
- CVE-2012-5783 — Medium (CVSS 5.8): Apache Commons HttpClient 3.x, as used in Amazon Flexible Payments Service (FPS) merchant Java SDK and other products,…
- CVE-2020-13956 — Medium (CVSS 5.3): Apache HttpClient versions prior to version 4.5.13 and 5.0.3 can misinterpret malformed authority component in request…
- CVE-2015-5262 — Medium (CVSS 4.3): http/conn/ssl/SSLConnectionSocketFactory.java in Apache HttpComponents HttpClient before 4.3.6 ignores the…
All CVEs affecting Apache Httpclient →
Other CWE-304 vulnerabilities
- CVE-2024-8954 — Critical (CVSS 9.8): In composiohq/composio version 0.5.10, the API does not validate the `x-api-key` header's value during the…
- CVE-2024-2172 — Critical (CVSS 9.8): The Malware Scanner plugin and the Web Application Firewall plugin for WordPress (both by MiniOrange) are vulnerable to…
- CVE-2024-45764 — Critical (CVSS 9.0): Dell Enterprise SONiC OS, version(s) 4.1.x, 4.2.x, contain(s) a Missing Critical Step in Authentication vulnerability.…
- CVE-2026-42452 — High (CVSS 8.1): Termix is a web-based server management platform with SSH terminal, tunneling, and file editing capabilities. Prior to…
- CVE-2025-24322 — High (CVSS 8.1): An unsafe default authentication vulnerability exists in the Initial Setup Authentication functionality of Tenda AC6…
- CVE-2024-9216 — High (CVSS 8.1): An authentication bypass vulnerability exists in gaizhenbiao/ChuanhuChatGPT, as of commit 3856d4f, allowing any user to…