Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › JavaScript

CVE-2026-123877 — nodejs node

Medium · CVSS 6.8EPSS 0.3% First seen November 11, 2026

One of 15 nodejs node vulnerabilities published together by NVD: our article covers all of them.

JavaScriptWebVulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 6.8 CVSS 3.0 base score from the CNA

An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.

Attack from
the network (remotely)
Attack complexity
high (only works under specific conditions)
Login needed
yes, a normal user account
User action needed
no
Scope
stays within the vulnerable component
Impact
high on confidentiality and integrity, none on availability

Vector CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Weakness

  • CWE-295: Improper Certificate Validation

Affected and fixed versions

ProductAffected versionsFixed in
nodejs node≥ 0.0.0, < 22.23.522.23.5
≥ 23.0.0, < 24.22.324.22.3
≥ 25.0.0, < 26.13.126.13.1

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Other references

Details from NVD (public domain).

Affected

  • nodejs node

What to do

  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-123877?

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. Weakness type: Improper Certificate Validation (CWE-295).

How severe is CVE-2026-123877?

CVE-2026-123877 has a CVSS 3.0 base score of 6.8 (medium), from the CNA. An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.

Is CVE-2026-123877 being exploited?

Not as far as is known: CVE-2026-123877 is not in CISA's Known Exploited Vulnerabilities catalog as of November 28, 2026. EPSS estimates a 0.3% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-123877?

nodejs node ≥ 0.0.0, < 22.23.5 (fixed in 22.23.5); nodejs node ≥ 23.0.0, < 24.22.3 (fixed in 24.22.3); nodejs node ≥ 25.0.0, < 26.13.1 (fixed in 26.13.1).

How do I fix CVE-2026-123877?

Update to a fixed release: nodejs node 22.23.5; nodejs node 24.22.3; nodejs node 26.13.1.

Timeline & sources

References

Related vulnerabilities & news