{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-123877","assignerOrgId":"ce714d77-add3-4f53-aff5-83d477b104bb","state":"PUBLISHED","assignerShortName":"openjs","dateReserved":"2026-11-06T16:32:30.304Z","datePublished":"2026-11-11T18:28:38.494Z","dateUpdated":"2026-11-16T21:45:44.311Z"},"containers":{"cna":{"providerMetadata":{"orgId":"ce714d77-add3-4f53-aff5-83d477b104bb","shortName":"openjs","dateUpdated":"2026-11-11T18:28:38.494Z"},"title":"Node.js is vulnerable to a certificate validation bypass in https.Agent via cross-policy TLS session reuse","descriptions":[{"lang":"en","value":"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.","supportingMedia":[{"type":"text/markdown","base64":false,"value":"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."}]}],"credits":[{"lang":"en","value":"aegis1337 and mickeyjoe","type":"reporter"},{"lang":"en","value":"mcollina","type":"remediation developer"},{"lang":"en","value":"aduh95","type":"coordinator"}],"affected":[{"vendor":"nodejs","product":"node","defaultStatus":"unaffected","versions":[{"version":"0.0.0","status":"affected","lessThan":"22.23.5","versionType":"semver"},{"version":"23.0.0","status":"affected","lessThan":"24.22.3","versionType":"semver"},{"version":"25.0.0","status":"affected","lessThan":"26.13.1","versionType":"semver"}]}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-295","description":"Improper Certificate Validation"}]}],"metrics":[{"format":"CVSS","cvssV3_0":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","baseScore":6.8,"baseSeverity":"MEDIUM"}}],"references":[{"url":"https://nodejs.org/en/blog/vulnerability/november-2026-security-releases","tags":["vendor-advisory"]},{"url":"https://cna.openjsf.org/security-advisories.html"}],"x_generator":{"engine":"nodejs-private/security-release publish-cves"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-16T21:45:31.709597Z","id":"CVE-2026-123877","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-11-16T21:45:44.311Z"}}]}}