CVE-2026-123867: Node.js Node
Medium severity, CVSS 4.2. EPSS: 0.2% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Node.js Node, from 0.0.0, before 22.23.5: fixed in 22.23.5
- Node.js Node, from 23.0.0, before 24.22.3: fixed in 24.22.3
- Node.js Node, from 25.0.0, before 26.13.1: fixed in 26.13.1
Affected products
- Node.js Node: from 0.0.0, before 22.23.5 (fixed in 22.23.5); from 23.0.0, before 24.22.3 (fixed in 24.22.3); from 25.0.0, before 26.13.1 (fixed in 26.13.1)
Published 2026-11-11. Last modified 2026-11-16.