CVE-2026-123877
Last modified
CVE-2026-123877 is a medium-severity vulnerability rated 6.8/10 on the CVSS scale. 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. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| nodejs | node | >= 0.0.0, < 22.23.5; >= 23.0.0, < 24.22.3; >= 25.0.0, < 26.13.1 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-123877?
How severe is CVE-2026-123877?
How do I fix CVE-2026-123877?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-123870The otterdog webapp evaluates a format-string built from the…9.5
- CVE-2026-123871Node.js discloses proxy credentials in ERR_PROXY_INVALID_CON…6.2
- CVE-2026-123872A client certificate authentication bypass in Node.js TLS le…8.1
- CVE-2026-123874A use-after-free in Node.js HTTP/2 lets an unauthenticated c…7.5
- CVE-2026-123875A NULL pointer dereference in Node.js HTTP/2 lets an unauthe…5.9
- CVE-2026-123876A flaw was found in the default seccomp profile used by Podm…4.4
- CVE-2026-12388A flaw was found in the Identity Provider (IdP) mapper compo…6.5
- CVE-2026-123881A vulnerability was found in OpenBMB Internet of Agents up t…7.3
- CVE-2026-12389A vulnerability that could lead to a high privileged authent…8.4
- CVE-2026-1239The Ninja Forms – The Contact Form Builder That Grows With Y…7.5
- CVE-2026-12390In AzeoTech DAQFactory versions 21.1 and prior, a Type Confu…7.8
- CVE-2026-12391An insecure symlink following vulnerability exists in Canoni…5
Are you affected by CVE-2026-123877?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
