Certificate Validation Bypass in Node.js Affects Multiple Versions
CVE-2026-123877

6.8MEDIUM

Key Information:

Vendor

Nodejs

Status
Vendor
CVE Published:
11 November 2026

What is CVE-2026-123877?

A vulnerability in Node.js allowing a certificate validation bypass due to improper handling of cached TLS sessions. When using https.Agent, requests with a stricter Certificate Authority (CA) policy can reuse a session from a request with a broader policy. This occurs because both requests share the same agent and session-cache key, where the omission of a CA and the explicit supply of an empty CA array lead to the same cache key. Consequently, a TLS session authenticated under the less strict default policy can be incorrectly utilized by a connection that follows a stricter CA requirement, potentially exposing confidential data.

Affected Version(s)

node 0.0.0 < 22.23.5

node 23.0.0 < 24.22.3

node 25.0.0 < 26.13.1

References

CVSS V3.0

Score:
6.8
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

aegis1337 and mickeyjoe
mcollina
aduh95
.