{"id":"CVE-2026-123877","aliases":["CVE-2026-123877","BIT-NODE-2026-123877","BIT-NODE-MIN-2026-123877"],"related":[],"kind":"vulnerability","state":"published","title":"Node.js is vulnerable to a certificate validation bypass in https.Agent via cross-policy TLS session reuse","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-11T18:28:38.494Z","modified":"2026-11-27T06:56:18.002Z","severity":{"scorer":"openjs","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"openjs","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","score":6.8,"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-123877","tags":["web"],"sources":["bitnami"]}],"credits":["aegis1337 and mickeyjoe","mcollina","aduh95"],"assigner":"openjs","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-16T21:45:31.709Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-123877","url":"https://www.cve.org/CVERecord?id=CVE-2026-123877","licence":"CVE Terms of Use","modified":"2026-11-16T21:45:44.311Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-123877","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123877","licence":"Public domain","modified":"2026-11-16T22:18:17.537Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-NODE-2026-123877","url":"https://osv.dev/vulnerability/BIT-NODE-2026-123877","licence":"Apache-2.0","modified":"2026-11-27T06:45:35.829Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-NODE-MIN-2026-123877","url":"https://osv.dev/vulnerability/BIT-NODE-MIN-2026-123877","licence":"Apache-2.0","modified":"2026-11-27T06:56:18.002Z"}],"updatedAt":"2026-11-27T07:07:44.418Z","epss":{"score":0.00285,"percentile":0.22551,"date":"2026-12-01T12:00:22.000Z"}}