{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-123877","id":"CVE-2026-123877","title":"Node.js certificate validation bypass in https.Agent session caching","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","descriptionLong":"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.","published":"2026-11-11T18:28:38.494Z","updated":"2026-11-16T22:18:17.537Z","reserved":"2026-11-06T16:32:30.304Z","status":"Awaiting Analysis","rejected":false,"assigner":"openjs","metric":{"version":"3.0","score":6.8,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"openjs"},"metrics":[{"version":"3.0","score":6.8,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"openjs"},{"version":"3.0","score":6.8,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"ce714d77-add3-4f53-aff5-83d477b104bb"}],"rating":"medium","products":["nodejs node"],"affectedProducts":[{"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"}],"platforms":[]}],"packages":[],"cwes":["CWE-295"],"aliases":[],"references":[{"url":"https://nodejs.org/en/blog/vulnerability/november-2026-security-releases","tags":["vendor-advisory"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00242,"epssPercentile":0.15609,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-123877","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123877","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-123877","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-123877","ok":true,"note":"scored 2026-11-19"}],"aiTitle":true,"tech":["nodejs"],"critical":[],"attention":null}