CVE-2026-123867

NameCVE-2026-123867
DescriptionA 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1153855

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
nodejs (PTS)bookworm18.20.4+dfsg-1~deb12u2vulnerable
bookworm (security)18.20.4+dfsg-1~deb12u3vulnerable
trixie (security), trixie20.19.2+dfsg-1+deb13u3vulnerable
forky24.22.2+dfsg+~cs24.19.2-1vulnerable
sid24.22.3+dfsg+~cs24.19.2-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
nodejssource(unstable)24.22.3+dfsg+~cs24.19.2-11153855

Notes

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

Search for package or bug name: Reporting problems