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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nodejs | No fix yet | — |
| Debian 13 | nodejs | No fix yet | — |
| Debian 12 | nodejs | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
- RHSA-2026:99436 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:99435 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:99433 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- NCSC-2026-0492 Kwetsbaarheden verholpen in Node.js NCSC-NL (Netherlands) · Nov 12, 2026
- ALAS2023-2026-3456 Important: nodejs22 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Nov 12, 2026
- ALAS2023-2026-3457 Important: nodejs24 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Nov 12, 2026
- WID-SEC-2026-4525 Node.js: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2026