CVE-2026-40542: Apache HttpClient: SCRAM-SHA-256 mutual authentication bypass
This Apache advisory covers CVE-2026-40542 in Apache HttpClient.
Am I affected by CVE-2026-40542?
You are affected if you run Apache HttpClient at one of the versions below. If you do, upgrade to the fixed release listed for your version.
| Affected | Fixed in |
|---|---|
| Apache HttpClient 5.6 before 5.6.1 | 5.6.1 |
Official advisory · high-confidence parse· fetched ·verify at source
Key facts
- Vendor rating
- High, CVSS 7.3
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L· base score 7.3, scored by CISA-ADPAttack vector: network. Attack complexity: low. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: low. Integrity impact: low. Availability impact: low.- Weakness
- CWE-304: Missing Critical Step in Authentication
- EPSS
- 0.55% chance of exploitation in the next 30 days (47th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: yes. Technical impact: partial. CISA, .
- CISA KEV
- Not listed (catalogue checked )
- Source published
- Source revised
- Listed by VulniPulse
- Record changed
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
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.
Text from the source record.
How to fix CVE-2026-40542
Upgrade to the first fixed release for your version, shown in the table above.
Vendor guidance
- Users are recommended to upgrade to version 5.6.1, which fixes this issue.
CVE-2026-40542 in other vendors' advisories
- Red Hat: CVE-2026-40542, high severity
CVE-2026-40542 questions
Is CVE-2026-40542 being exploited?
CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the Apache advisory does not report exploitation. That is not proof it is unexploited.
Am I affected by CVE-2026-40542?
You are affected if you run Apache HttpClient at one of the versions below. If you do, upgrade to the fixed release listed for your version. The table above lists each version.
How do I fix CVE-2026-40542?
Upgrade to a fixed release Apache lists for your version: 5.6.1. The advisory's own guidance is above.
How likely is CVE-2026-40542 to be exploited?
FIRST's EPSS model gives it a 0.55% chance of exploitation in the next 30 days (47th percentile among scored CVEs, model date ). It is a forecast, not a report of attacks.
How serious is CVE-2026-40542?
Apache rates it high, CVSS 7.3 out of 10.
More Apache Software Foundation advisories
CVE-2026-130019Dec 4, 2026Apache Polaris: Improper verification of table metadataCVE-2026-130017Dec 4, 2026Apache Polaris: Improper validation of file paths in cleanup operationsCVE-2026-130015Dec 4, 2026Apache Polaris: Incorrect authorization in location overlap validationCVE-2026-129974Dec 4, 2026Apache Polaris: Incorrect authorization in table rename operationCVE-2026-129962Dec 4, 2026Apache Polaris: Incorrect validation in handling of catalog allowed locationsCVE-2026-129921Dec 4, 2026Apache Polaris: Incorrect authorization in location-overlap validation
Apache Software Foundation advisories, April 2026All Apache Software Foundation advisories
Get an email when Apache publishes the next one.
See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro (first month US$5).