{"id":"CVE-2026-123867","published":"2026-11-11T18:23:12Z","modified":"2026-11-16T21:47:14Z","title":"Node.js is vulnerable to a per-host mTLS authorization bypass via a CA-only SNI context failing open to the default CA","vendor":"nodejs","product":"node","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00159,"percentile":0.05117,"provenance":"source"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"references":[{"url":"https://nodejs.org/en/blog/vulnerability/november-2026-security-releases","tags":["vendor-advisory"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[]}],"priority":{"score":4.0,"factors":[{"name":"EPSS percentile","points":1.02},{"name":"CVSS severity","points":2.94}]},"vendorSlug":"nodejs","affectedVersions":[{"vendor":"nodejs","product":"node","versions":[">= 0.0.0, < 22.23.5",">= 23.0.0, < 24.22.3",">= 25.0.0, < 26.13.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-16T21:47:05.168490Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-123689","exploited":false,"provenance":"source"}}