CVE-2026-40542: Apache HttpClient: SCRAM-SHA-256 mutual authentication bypass may cause the client to accept authentication without proper mutual authentication verification
CVE-2026-40542 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- High
- CVSS base score
- 7.3 (Apache), 7.3 (Red Hat)
- 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, .
- Fixed releases
- Apache: 5.6.1
- Assigned by
- apache (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-40542; each belongs to its advisory, not to every product listed. How records are collected and checked.
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: Apache HttpClient 5.6 before 5.6.1 | 5.6.1 |
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 CVE.org record (apache).
How do I fix CVE-2026-40542?
Upgrade to a fixed release named by the vendor:
- Apache: 5.6.1
- Users are recommended to upgrade to version 5.6.1, which fixes this issue. (Apache)
- Red Hat rates this important; a fix erratum may not be out yet — apply the RHSA as soon as it publishes. (Red Hat)
Vendor advisories for CVE-2026-40542
Apache
1 advisory- Advisory severityHigh7.3
High [CVE-2026-40542] Apache HttpClient: SCRAM-SHA-256 mutual authentication bypass may cause the client to accept authentication without proper mutual authentication verification
CVE-2026-40542Source published Source updated
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.
- Affected products in this advisory
- Apache HttpClient
- Source-reported affected versions
- Apache HttpClient 5.6 before 5.6.1
- Source-reported fixed versions
- 5.6.1
- Mitigation guidance
- Users are recommended to upgrade to version 5.6.1, which fixes this issue.
Red Hat
1 advisory- Advisory severityHigh7.3
High [CVE-2026-40542] Authentication bypass due to missing mutual authentication verification
CVE-2026-40542Source published
Authentication bypass due to missing mutual authentication verification. Red Hat rates this important (CVSS 7.3). Weakness: CWE-325. No fix erratum has been published yet; monitor the Red Hat CVE page and apply the RHSA when released.
- Affected products in this advisory
- OpenShift Developer Tools and Services 4.12
- OpenShift Developer Tools and Services 4.15
- OpenShift Developer Tools and Services 4.16
- OpenShift Developer Tools and Services 4.17
7 more entries in the full advisory.
- Source-reported affected versions
- Affected-version details not available in this record.
- Source-reported fixed versions
- No fixed-version detail extracted. This does not mean no fix exists.
- Mitigation guidance
- Red Hat rates this important; a fix erratum may not be out yet — apply the RHSA as soon as it publishes.
References
- CVE-2026-40542 recordCVE.org
- CVE-2026-40542 detailNVD
- lists.apache.org/thread/tfmgv86xr0z1y096vs3z0y315t1v3o97vendor-advisory
Timeline
- First vendor advisory listed by VulniPulse
- CVE record published
- CVE record last updated
More Apache 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
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).