CVEfocus › CVE database › CVE-2026-123877

CVE-2026-123877Node.js is vulnerable to a certificate validation bypass in https.Agent via cross-policy…

CVSS 6.8 MediumEPSS 0.3% (higher than 14% of CVEs)Published 2026-11-11Updated 2026-11-16Assigner: openjs

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.

CWE-295

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

5Fixed
44Fix pending
2Under investigation

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10nodejsFix pendingUBUNTU-CVE-2026-123877
Ubuntu 26.04nodejsUnder investigationUBUNTU-CVE-2026-123877
Ubuntu 24.04nodejsUnder investigationUBUNTU-CVE-2026-123877
Ubuntu 22.04nodejsFix pendingUBUNTU-CVE-2026-123877
Ubuntu 20.04nodejsFix pendingUBUNTU-CVE-2026-123877
Ubuntu 18.04nodejsFix pendingUBUNTU-CVE-2026-123877
Ubuntu 16.04nodejsFix pendingUBUNTU-CVE-2026-123877
Ubuntu 14.04nodejsFix pendingUBUNTU-CVE-2026-123877
Debian 14nodejsFix pendingDEBIAN-CVE-2026-123877
Debian 13nodejsFix pendingDEBIAN-CVE-2026-123877
Debian 12nodejsFix pendingDEBIAN-CVE-2026-123877
Red Hat Enterprise Linux 10nodejsFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs-develFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs-docsFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs-full-i18nFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs-libsFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs-npmFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs22Fix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs24Fix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs24-develFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs24-docsFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs24-full-i18nFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs24-libsFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs24-npmFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs26Fix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs26-develFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs26-docsFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs26-full-i18nFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs26-libsFix pending
Fix deferred
Red Hat Enterprise Linux 10nodejs26-npmFix pending
Fix deferred
Red Hat Enterprise Linux 9nodejsFix pending
Fix deferred
Red Hat Enterprise Linux 9nodejs-docsFix pending
Fix deferred
Red Hat Enterprise Linux 9nodejs-full-i18nFix pending
Fix deferred
Red Hat Enterprise Linux 9nodejs-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9npmFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejsFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejs-develFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejs-docsFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejs-full-i18nFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejs-libsFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejs-nodemonFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejs-packagingFix pending
Fix deferred
Red Hat Enterprise Linux 8nodejs-packaging-bundlerFix pending
Fix deferred
Red Hat Enterprise Linux 8npmFix pending
Fix deferred
Red Hat Enterprise Linux 8v8-12.4-develFix pending
Fix deferred
Red Hat Enterprise Linux 8v8-13.6-develFix pending
Fix deferred
Alpine Linux 3.24nodejsFixed24.22.3-r0ALPINE-CVE-2026-123877
Alpine Linux 3.24nodejs-currentFixed26.13.1-r0ALPINE-CVE-2026-123877
Alpine Linux 3.23nodejsFixed24.22.3-r0ALPINE-CVE-2026-123877
Alpine Linux 3.22nodejsFixed22.23.5-r0ALPINE-CVE-2026-123877
Alpine Linux 3.21nodejsFixed22.23.5-r0ALPINE-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.

Vendor advisories:

References

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.