CVE-2026-123877
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.
Weakness
- CWE-295: Improper Certificate Validation
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-11-16 |
Timeline
- 2026-11-11Published by the CNA18:28 UTC
- 2026-11-11Published in NVD19:17 UTC · 48 minutes after the CNA
- 2026-11-16CISA SSVC decision recorded5 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| nodejs node | from 0.0.0 before 22.23.5fixed in 22.23.5from 23.0.0 before 24.22.3fixed in 24.22.3from 25.0.0 before 26.13.1fixed in 26.13.1 | 22.23.524.22.326.13.1 |
References
- https://nodejs.org/en/blog/vulnerability/november-2026-security-releases
- https://cna.openjsf.org/security-advisories.html
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-123877'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-123877'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-123877'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-123877'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).