# CVE-2026-123877: Node.js is vulnerable to a certificate validation bypass in https.Agent via cross-policy TLS session reuse

Status: published. Published: 2026-11-11. Updated: 2026-11-11.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- nodejs / node: ≥ 0.0.0; < 22.23.5 (affected, semver); ≥ 23.0.0; < 24.22.3 (affected, semver); ≥ 25.0.0; < 26.13.1 (affected, semver). Source: CNA: openjs

## Severity and prioritization

- CVSS 3.0: 6.8 (medium); CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N; source: CNA: openjs

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-295

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://nodejs.org/en/blog/vulnerability/november-2026-security-releases (CNA: openjs; vendor-advisory)

- https://cna.openjsf.org/security-advisories.html (CNA: openjs)

## Provenance

- CNA: openjs: https://www.cve.org/CVERecord?id=CVE-2026-123877; retrieved 2026-11-11; source updated 2026-11-11

Revision: a816fb0a7755f4553fc3e63e40ea994dcb6951ad9845cc19e014da609d86a41a

Canonical: https://y2.dev/cve/CVE-2026-123877

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.