{"id":"CVE-2026-123877","aliases":[],"kind":"cve","tier":"hot","status":"published","title":"Node.js is vulnerable to a certificate validation bypass in https.Agent via cross-policy TLS session reuse","description":"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.","ai_summary":null,"severity":"medium","cvss":{"score":6.8,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"CNA"},"scores":[{"score":6.8,"source":"cna","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.0"}],"cwe":["CWE-295"],"remote":true,"remote_unauth":false,"epss":{"score":0.00285,"percentile":0.1357,"date":"2026-11-26"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"source":"cvelist","vendor":"nodejs","product":"node","versions":">= 0.0.0, < 22.23.5; >= 23.0.0, < 24.22.3; >= 25.0.0, < 26.13.1"}],"ai_versions":null,"mitigation":"Upgrade node to 26.13.1 or later.","technologies":[{"slug":"nodejs","name":"Node.js","method":"cpe"}],"references":[{"url":"https://nodejs.org/en/blog/vulnerability/november-2026-security-releases","kind":"vendor"},{"url":"https://cna.openjsf.org/security-advisories.html","kind":"other"}],"workarounds":null,"vendors":["nodejs"],"products":["node"],"cpes":[],"published_at":"2026-11-11T18:28:38.494Z","modified_at":"2026-11-16T22:18:17.537Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123877"},{"source":"FIRST EPSS","text":"EPSS scores by FIRST","url":"https://www.first.org/epss/"}],"links":{"html":"https://flawdb.com/CVE-2026-123877","markdown":"https://flawdb.com/CVE-2026-123877.md","json":"https://flawdb.com/api/v1/entries/CVE-2026-123877"}}