CVE-2026-123867: Node.js is vulnerable to a per-host mTLS authorization bypass via a CA-only SNI context failing open to the default CA
CVE-2026-123867 affects 245 listed versions of Node.js in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Node.js
245 of 250 listed versions are affected. Fixed in 26.13.1, 24.22.3, 22.23.5. The newest release, 26.14.0, is not affected.
26.13.0 26.12.1 26.12.0 26.11.1 26.11.0 26.10.0 26.9.0 26.8.2 26.8.1 26.8.0 26.7.0 26.6.0 26.5.1 26.5.0 26.4.0 26.3.1 26.3.0 26.2.0 26.1.0 26.0.0 25.9.0 25.8.2 25.8.1 25.8.0 25.7.0 25.6.1 25.6.0 25.5.0 25.4.0 25.3.0 25.2.1 25.2.0 25.1.0 25.0.0 24.22.2 24.22.1 24.22.0 24.21.0 24.20.0 24.19.0 24.18.1 24.18.0 24.17.0 24.16.0 24.15.0 24.14.1 24.14.0 24.13.1 24.13.0 24.12.0 24.11.1 24.11.0 24.10.0 24.9.0 24.8.0 24.7.0 24.6.0 24.5.0 24.4.1 24.4.0 and 185 more
What it is
A per-host mutual-TLS authorization bypass in Node.js lets a client authorized for the default hostname reach a protected hostname it is not authorized for. When a TLS server assigns a hostname a different client-certificate CA with `server.addContext(host, { ca: protectedCA })` but no server certificate in that SNI context, the per-host client CA is never installed and the handshake falls back to the default client CA. In `src/crypto/crypto_tls.cc`, `CertCbDone` installs the SNI context's CA only when `setSniContext` succeeds, but `setSniContext` returns `false` for a context with no server certificate, so a CA-only SNI context silently keeps the default CA. A client holding a certificate trusted by the default CA, but not the protected CA, can therefore complete mTLS to the protected hostname and read its response even with `requestCert` and `rejectUnauthorized` enabled, while a client certified by the protected CA is rejected. This vulnerability affects Node.js 26.x, 24.x, and 22.x.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N (Openjs)
Published by Openjs on 11 November 2026. Last changed 16 November 2026.
Sources
Check one version you run: look CVE-2026-123867 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.