CVE-2026-123877 · Runtime
NO FIX YET
Node.js https.Agent reuses a cached TLS session across requests that use different certificate authority policies, because the cache key ignores an empty ca array. A later request with a stricter CA policy can therefore send confidential data to a server it should have rejected.
first public Nov 11, 2026 · 1 source
Could this affect your app?
Free first check from your website. Connect your repo for the full answer.
Applications running Node.js 22.x, 24.x or 26.x that make outbound HTTPS requests through https.Agent with different ca settings, where one request uses the default trust store and another passes an empty ca array. Services that only use a single default trust store or never pass ca: [] are likely not exposed. The sources do not name fixed versions.
Not affected if default-config, single-ca-policy
Who cares https, node.js, self-hosted, tls
node --version and compare against the fixed versions below.https.Agent or ca: [] used alongside requests that rely on the default trust store.No fix yet, per the sources.
A certificate validation bypass in Node.js https.Agent lets a cached TLS session authenticated under one CA policy be reused by a later request with a stricter policy. https.Agent.prototype.getName() assigns the same Agent and session-cache key to a request that omits ca and one that explicitly supplies ca: [], because an omitted value appends nothing to the key while an empty array stringifies to an empty string. The two policies differ: omitting ca uses the default trust store, while supplying ca replaces it. Since they share a key, a TLS session authenticated under the broader default policy is handed to a new connection made under the later ca: [] policy, and TLS 1.3 session resumption carries the earlier authentication forward, so the second request reports authorized === true and transmits confidential data to a server its own CA policy would reject on a fresh connection. This vulnerability affects Node.js 26.x, 24.x, and 22.x.
This page as .md · .json · CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.
Check it with your coding agent
It reads this page and tells you if your code is affected.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.