{"id":"CVE-2026-123867","aliases":["CVE-2026-123867","BIT-NODE-2026-123867","BIT-NODE-MIN-2026-123867"],"related":[],"kind":"vulnerability","state":"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","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-11T18:23:12.991Z","modified":"2026-11-27T06:56:32.671Z","severity":{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.2,"rating":"MEDIUM"},"severities":[{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.2,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-295"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","fixed":"22.23.5","status":"affected"},{"type":"semver","introduced":"23.0.0","fixed":"24.22.3","status":"affected"},{"type":"semver","introduced":"25.0.0","fixed":"26.13.1","status":"affected"}],"vendor":"nodejs","product":"node","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"22.23.5"},{"type":"semver","introduced":"23.0.0","status":"affected","fixed":"24.22.3"},{"type":"semver","introduced":"25.0.0","status":"affected","fixed":"26.13.1"}],"ecosystem":"Bitnami","package":"node","purl":"pkg:bitnami/node","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"22.23.5"},{"type":"semver","introduced":"23.0.0","status":"affected","fixed":"24.22.3"},{"type":"semver","introduced":"25.0.0","status":"affected","fixed":"26.13.1"}],"ecosystem":"Bitnami","package":"node-min","purl":"pkg:bitnami/node-min","source":"bitnami"}],"references":[{"url":"https://nodejs.org/en/blog/vulnerability/november-2026-security-releases","tags":["vendor-advisory","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123867","tags":["web"],"sources":["bitnami"]}],"credits":["Uttkarsh Singh","mcollina","UlisesGascon","pimterry","aduh95"],"assigner":"openjs","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-16T21:47:05.168Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-123867","url":"https://www.cve.org/CVERecord?id=CVE-2026-123867","licence":"CVE Terms of Use","modified":"2026-11-16T21:47:14.443Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-123867","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123867","licence":"Public domain","modified":"2026-11-16T22:18:16.863Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-NODE-2026-123867","url":"https://osv.dev/vulnerability/BIT-NODE-2026-123867","licence":"Apache-2.0","modified":"2026-11-27T06:56:32.671Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-NODE-MIN-2026-123867","url":"https://osv.dev/vulnerability/BIT-NODE-MIN-2026-123867","licence":"Apache-2.0","modified":"2026-11-27T06:56:32.671Z"}],"updatedAt":"2026-11-27T07:07:41.000Z","epss":{"score":0.00174,"percentile":0.07208,"date":"2026-12-01T12:00:22.000Z"}}