CVE-2026-123877Node.js is vulnerable to a certificate validation bypass in https.Agent via cross-policy…
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.
What to do
Fixed builds are available from Alpine: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | nodejs | Fix pending | UBUNTU-CVE-2026-123877 | |
| Ubuntu 26.04 | nodejs | Under investigation | UBUNTU-CVE-2026-123877 | |
| Ubuntu 24.04 | nodejs | Under investigation | UBUNTU-CVE-2026-123877 | |
| Ubuntu 22.04 | nodejs | Fix pending | UBUNTU-CVE-2026-123877 | |
| Ubuntu 20.04 | nodejs | Fix pending | UBUNTU-CVE-2026-123877 | |
| Ubuntu 18.04 | nodejs | Fix pending | UBUNTU-CVE-2026-123877 | |
| Ubuntu 16.04 | nodejs | Fix pending | UBUNTU-CVE-2026-123877 | |
| Ubuntu 14.04 | nodejs | Fix pending | UBUNTU-CVE-2026-123877 | |
| Debian 14 | nodejs | Fix pending | DEBIAN-CVE-2026-123877 | |
| Debian 13 | nodejs | Fix pending | DEBIAN-CVE-2026-123877 | |
| Debian 12 | nodejs | Fix pending | DEBIAN-CVE-2026-123877 | |
| Red Hat Enterprise Linux 10 | nodejs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs-full-i18n | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs-npm | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs22 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs24 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs24-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs24-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs24-full-i18n | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs24-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs24-npm | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs26 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs26-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs26-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs26-full-i18n | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs26-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | nodejs26-npm | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nodejs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nodejs-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | nodejs-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | npm | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs-docs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs-nodemon | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs-packaging | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | npm | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | v8-12.4-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | v8-13.6-devel | Fix pending Fix deferred | ||
| Alpine Linux 3.24 | nodejs | Fixed | 24.22.3-r0 | ALPINE-CVE-2026-123877 |
| Alpine Linux 3.24 | nodejs-current | Fixed | 26.13.1-r0 | ALPINE-CVE-2026-123877 |
| Alpine Linux 3.23 | nodejs | Fixed | 24.22.3-r0 | ALPINE-CVE-2026-123877 |
| Alpine Linux 3.22 | nodejs | Fixed | 22.23.5-r0 | ALPINE-CVE-2026-123877 |
| Alpine Linux 3.21 | nodejs | Fixed | 22.23.5-r0 | ALPINE-CVE-2026-123877 |
What the vendor says
As published in the CVE record by openjs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- nodejs node: affected: 0.0.0 to before 22.23.5, 23.0.0 to before 24.22.3, 25.0.0 to before 26.13.1; fixed in
22.23.5,24.22.3,26.13.1
Vendor advisories:
- https://nodejs.org/en/blog/vulnerability/november-2026-security-releases (vendor-advisory)
References
- https://nodejs.org/en/blog/vulnerability/november-2026-security-releases
- https://cna.openjsf.org/security-advisories.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.