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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-11 · Modified: 2026-11-16
- Aliases: DEBIAN-CVE-2026-123877, ALPINE-CVE-2026-123877, UBUNTU-CVE-2026-123877, CGA-jfcw-885f-jfrr, CGA-4656-xgww-84j6, CGA-658j-hwqw-xw59, CGA-fqj8-xjgw-4x9c, CGA-g886-54vq-r3cj, CGA-gjw4-7rgq-v39v, CGA-rjgj-f2pw-c948, CGA-rx8p-426w-xhj3, CGA-vx5h-7r8r-qpfp, CGA-g2qx-jp7r-7qj9
- Record: https://cvemate.com/vulnerability/CVE-2026-123877 · JSON: https://cvemate.com/vulnerability/CVE-2026-123877/json

## Description

```text
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.
```

## Signals

- CVSS: 6.8 medium (v3.0, CVE.org) CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.285%, percentile 22.496%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine nodejs (Alpine Linux): \< 22.23.5-r0 \| \< 24.22.3-r0
- alpine nodejs-current (Alpine Linux): \< 26.13.1-r0
- chainguard eco-nodejs-18.17.1 (Chainguard): All versions (No fix recorded)
- chainguard eco-nodejs-20.9.0 (Chainguard): All versions (No fix recorded)
- chainguard eco-nodejs-22.16.0 (Chainguard): All versions (No fix recorded)
- chainguard eco-nodejs-24.18.0 (Chainguard): All versions (No fix recorded)
- chainguard nodejs-25 (Chainguard): All versions (No fix recorded)
- wolfi nodejs-25 (Wolfi): All versions (No fix recorded)
- debian nodejs (Debian): All versions (No fix recorded)
- ubuntu nodejs (Ubuntu): All versions (No fix recorded)
- nodejs node: ≥ 0.0.0, \< 22.23.5 \| ≥ 23.0.0, \< 24.22.3 \| ≥ 25.0.0, \< 26.13.1

## References

- <https://nodejs.org/en/blog/vulnerability/november-2026-security-releases>
- <https://cna.openjsf.org/security-advisories.html>
- <https://security-tracker.debian.org/tracker/CVE-2026-123877>
- <https://security.alpinelinux.org/vuln/CVE-2026-123877>
- <https://ubuntu.com/security/CVE-2026-123877>
- <https://www.cve.org/CVERecord?id=CVE-2026-123877>
- <https://nodejs.org/en/blog/vulnerability/november-2026-security-releases#certificate-validation-bypass-in-nodejs-httpsagent-via-cross-policy-tls-session-reuse-cve-2026-123877---medium>

---

Data as of 2026-12-05T03:21:44.036Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
