# 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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.2, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-11 · Modified: 2026-11-16
- Aliases: DEBIAN-CVE-2026-123867, ALPINE-CVE-2026-123867, UBUNTU-CVE-2026-123867, CGA-xj2p-h974-pp3p, CGA-2272-vjg8-6cj4, CGA-6p2j-v9cq-xr4q, CGA-7chh-943r-vcrj, CGA-7r92-8c97-qc47, CGA-fmpw-hvp2-f54g, CGA-v62x-838m-j8ww, CGA-vpfw-j55r-rp6v, CGA-wh6v-8ch9-w5f4, CGA-f2cj-768p-fx25
- Record: https://cvemate.com/vulnerability/CVE-2026-123867 · JSON: https://cvemate.com/vulnerability/CVE-2026-123867/json

## 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.
```

## Signals

- CVSS: 4.2 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.174%, percentile 7.172%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine nodejs (Alpine Linux): \< 22.23.5-r0 \| \< 24.22.3-r0
- alpine nodejs-current (Alpine Linux): \< 26.13.1-r0
- chainguard eco-nodejs-18.17.1 (Chainguard): All versions (No fix recorded)
- chainguard eco-nodejs-20.9.0 (Chainguard): All versions (No fix recorded)
- chainguard eco-nodejs-22.16.0 (Chainguard): All versions (No fix recorded)
- chainguard eco-nodejs-24.18.0 (Chainguard): All versions (No fix recorded)
- chainguard nodejs-25 (Chainguard): All versions (No fix recorded)
- wolfi nodejs-25 (Wolfi): All versions (No fix recorded)
- debian nodejs (Debian): All versions (No fix recorded)
- ubuntu nodejs (Ubuntu): All versions (No fix recorded)
- nodejs node: ≥ 0.0.0, \< 22.23.5 \| ≥ 23.0.0, \< 24.22.3 \| ≥ 25.0.0, \< 26.13.1

## References

- <https://nodejs.org/en/blog/vulnerability/november-2026-security-releases>
- <https://cna.openjsf.org/security-advisories.html>
- <https://security-tracker.debian.org/tracker/CVE-2026-123867>
- <https://security.alpinelinux.org/vuln/CVE-2026-123867>
- <https://ubuntu.com/security/CVE-2026-123867>
- <https://www.cve.org/CVERecord?id=CVE-2026-123867>
- <https://nodejs.org/en/blog/vulnerability/november-2026-security-releases#ca-only-sni-client-ca-overrides-fail-open-to-the-default-ca-bypassing-per-host-mtls-authorization-cve-2026-123867---medium>

---

Data as of 2026-12-05T03:22:25.277Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
