{"id":"CVE-2026-123867","aliases":[],"kind":"cve","tier":"hot","status":"published","title":"Node.js is vulnerable to a per-host mTLS authorization bypass via a CA-only SNI context failing open to the default CA","description":"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.","ai_summary":null,"severity":"medium","cvss":{"score":4.2,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","source":"CNA"},"scores":[{"score":4.2,"source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}],"cwe":["CWE-295"],"remote":true,"remote_unauth":false,"epss":{"score":0.00174,"percentile":0.04037,"date":"2026-11-26"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"source":"cvelist","vendor":"nodejs","product":"node","versions":">= 0.0.0, < 22.23.5; >= 23.0.0, < 24.22.3; >= 25.0.0, < 26.13.1"}],"ai_versions":null,"mitigation":"Upgrade node to 26.13.1 or later.","technologies":[{"slug":"nodejs","name":"Node.js","method":"cpe"}],"references":[{"url":"https://nodejs.org/en/blog/vulnerability/november-2026-security-releases","kind":"vendor"},{"url":"https://cna.openjsf.org/security-advisories.html","kind":"other"}],"workarounds":null,"vendors":["nodejs"],"products":["node"],"cpes":[],"published_at":"2026-11-11T18:23:12.991Z","modified_at":"2026-11-16T22:18:16.863Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123867"},{"source":"FIRST EPSS","text":"EPSS scores by FIRST","url":"https://www.first.org/epss/"}],"links":{"html":"https://flawdb.com/CVE-2026-123867","markdown":"https://flawdb.com/CVE-2026-123867.md","json":"https://flawdb.com/api/v1/entries/CVE-2026-123867"}}