Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.httpcomponents.client5/httpclient5
  4. ›
  5. CVE-2026-40542

CVE-2026-40542: Apache HttpClient accepts SCRAM-SHA-256 authentication without proper mutual authentication verification

April 22, 2026 (updated April 29, 2026)

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.

References

  • github.com/advisories/GHSA-v468-qcjx-r72w
  • github.com/apache/httpcomponents-client
  • github.com/apache/httpcomponents-client/commit/726eac2323d370435d8afca1e0540aa099927f18
  • lists.apache.org/thread/tfmgv86xr0z1y096vs3z0y315t1v3o97
  • nvd.nist.gov/vuln/detail/CVE-2026-40542

Code Behaviors & Features

Detect and mitigate CVE-2026-40542 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.6-alpha1 before 5.6.1

Fixed versions

  • 5.6.1

Solution

Upgrade to version 5.6.1 or above.

Impact 7.3 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-304: Missing Critical Step in Authentication

Source file

maven/org.apache.httpcomponents.client5/httpclient5/CVE-2026-40542.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:29 +0000.