CVE-2026-123867: Node.js CA-only SNI context mutual TLS authorization bypass
CVE-2026-123867 is a per-host mutual TLS authorization bypass affecting Node.js 22.x, 24.x, and 26.x. When server.addContext() configures a hostname-specific client-certificate CA without a server certificate, the TLS handshake silently retains the default context's client CA. CertCbDone applies the SNI context's CA only when setSniContext succeeds, but setSniContext returns false for contexts without a server certificate. Consequently, a client trusted by the default CA but not by the protected hostname's CA can complete mutual TLS and read the protected hostname's response, even with requestCert and rejectUnauthorized enabled.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
The vulnerability breaks hostname-specific client-certificate trust boundaries, permitting unauthorized access to responses protected by a different client CA. Clients holding certificates trusted only by the default CA can be accepted for the protected hostname. Conversely, legitimate clients trusted only by the protected hostname's CA can be rejected. The scope of exposed information or functionality depends on the application served by that hostname.
Mitigation
If you can’t patch tonight, do this now.
Until patched, avoid CA-only SNI contexts for hostname-specific client authentication. Configure each protected SNI context with an appropriate server certificate and matching private key alongside its client CA, and verify that clients trusted only by the default CA are rejected. Alternatively, isolate hostnames with different client-CA policies onto separate TLS listeners or TLS-terminating services that enforce those policies independently.
Remediation
Patch, then assume compromise.
Upgrade to Node.js 22.23.5, 24.22.3, or 26.13.1, or a later patched release in the applicable branch. The fix applies the CA configuration of SNI contexts even when they lack a server certificate. Restart affected Node.js processes and rebuild deployment artifacts, including container images and single executable applications, to incorporate the patched runtime.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Frequently asked questions
- Is CVE-2026-123867 exploited in the wild?
- As of Nov 27, 2026, Mallory has no reports of CVE-2026-123867 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-123867?
- As of Nov 27, 2026, Mallory has found no public exploit for CVE-2026-123867.
- Is there a patch for CVE-2026-123867?
- Upgrade to Node.js 22.23.5, 24.22.3, or 26.13.1, or a later patched release in the applicable branch. The fix applies the CA configuration of SNI contexts even when they lack a server certificate.
- How severe is CVE-2026-123867?
- CVE-2026-123867 has a CVSS v3.1 score of 4.2 (Medium) and an EPSS score of 0.17% (4th percentile) as of Nov 27, 2026.
Recent activity
33 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.