Skip to content
OpenAdvisories
Medium · 6.8 CVE-2026-123877 EUVD-2026-123696GHSA-4g6g-xjc7-fh73

A certificate validation bypass in Node.js https.Agent lets a cached TLS session authenticated under one CA policy be reused by a later req…

Published Nov 11, 2026 · Assigned by openjs

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.

Affected products

VendorProductAffectedFixed
nodejs Node 23.0.0 <24.22.3 —
nodejs Node 25.0.0 <26.13.1 —
nodejs Node 0.0.0 <22.23.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nodejs No fix yet —
Debian 13 nodejs No fix yet —
Debian 12 nodejs No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 nodejs No fix yet —
Ubuntu 26.04 LTS nodejs No fix yet —
Ubuntu 24.04 LTS nodejs No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS nodejs No fix yet —
Ubuntu Pro 20.04 LTS nodejs No fix yet —
Ubuntu Pro 18.04 LTS nodejs No fix yet —
Ubuntu Pro 16.04 LTS nodejs No fix yet —
Ubuntu Pro 14.04 LTS nodejs No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 nodejs22 +6 1:22.23.5-2.3.2.3.1.hum1 RHSA-2026:99433
Red Hat Hardened Images 1 nodejs22-npm 1:10.9.9-1.22.23.5.2.3.2.3.1.hum1 RHSA-2026:99433
Red Hat Hardened Images 1 nodejs24 +5 1:24.22.3-0.1.hum1 RHSA-2026:99435
Red Hat Hardened Images 1 nodejs24-npm 2:11.19.1-1.24.22.3.0.1.hum1 RHSA-2026:99435
Red Hat Hardened Images 1 nodejs24-npm-bin 2:24.22.3-0.1.hum1 RHSA-2026:99435
Red Hat Hardened Images 1 nodejs26 +6 1:26.13.1-0.1.hum1 RHSA-2026:99436
Red Hat Hardened Images 1 nodejs26-npm 1:11.20.0-1.26.13.1.0.1.hum1 RHSA-2026:99436
ReleasePackageFixed inAdvisory
Alpine v3.24 nodejs 24.22.3-r0 —
Alpine v3.24 nodejs-current 26.13.1-r0 —
Alpine v3.23 nodejs 24.22.3-r0 —
Alpine v3.22 nodejs 22.23.5-r0 —
Alpine v3.21 nodejs 22.23.5-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nodejs22 +4 1:22.23.5-1.amzn2023.0.1 ALAS2023-2026-3456
Amazon Linux 2023 nodejs22-npm 1:10.9.9-1.22.23.5.1.amzn2023.0.1 ALAS2023-2026-3456
Amazon Linux 2023 nodejs24 +4 1:24.22.3-1.amzn2023.0.1 ALAS2023-2026-3457
Amazon Linux 2023 nodejs24-npm 1:11.19.1-1.24.22.3.1.amzn2023.0.1 ALAS2023-2026-3457
Amazon Linux 2023 v8-12.4-devel 3:12.4.254.21-1.22.23.5.1.amzn2023.0.1 ALAS2023-2026-3456
Amazon Linux 2023 v8-13.6-devel 3:13.6.233.17-1.24.22.3.1.amzn2023.0.1 ALAS2023-2026-3457

Advisories 7

References