# CVE-2026-84961: undici vulnerable to TLS certificate validation bypass via dropped connect options in BalancedPool

- Severity: High 7.4 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-09-04T16:47:55.724Z
- Modified: 2026-09-29T18:28:14.915Z
- Also known as: GHSA-w293-vg96-wgc3
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: openjs

## Description

undici's BalancedPool constructor passes its entire options object through an internal deep-clone that serializes and reparses the value as JSON. Because JSON cannot represent functions, any function-valued TLS option, such as a caller-supplied checkServerIdentity callback or a custom connector inside the connect option, is silently discarded before it reaches the TLS layer. As a result a peer whose certificate the application's custom checkServerIdentity was written to reject, but which still passes Node's default hostname and chain checks, is accepted when reached through BalancedPool. The Client, Pool, and Agent dispatchers are not affected because they extract the connect and tls options before cloning. This affects undici versions from 7.24.1 up to 7.29.1 and from 8.0.0 up to 8.10.2, and only when the application supplies a function-valued connect or tls option to BalancedPool. Users should upgrade to undici 7.29.1 or 8.10.2.

(As written by CVE List.)

## Affected

- undici undici: from 7.24.1 before 7.29.1; from 8.0.0 before 8.10.2 (not affected: 7.29.1; 8.10.2)
- undici (npm): from 7.24.1 before 7.29.1; from 8.0.0 before 8.10.2
- nodejs undici: from 7.24.1 before 7.29.1; from 8.0.0 before 8.10.2

## Every score

- openjs: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/nodejs/undici/security/advisories/GHSA-w293-vg96-wgc3> (mitigation, vendor-advisory, web)
- <https://cna.openjsf.org/security-advisories.html> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-84961> (advisory)
- <https://github.com/nodejs/undici/commit/8f5868fbdbc8f1146dfc1bcd1f2d117790141390> (web)
- <https://github.com/nodejs/undici/commit/f690157d728508652fef14673630c71515123e96> (web)
- <https://github.com/nodejs/undici> (package)
- <https://github.com/nodejs/undici/releases/tag/v7.29.1> (web)
- <https://github.com/nodejs/undici/releases/tag/v8.10.2> (web)

## Sources

- CVE List: [CVE-2026-84961](https://www.cve.org/CVERecord?id=CVE-2026-84961), CVE Terms of Use, modified 2026-09-04
- GitHub Advisory Database: [GHSA-w293-vg96-wgc3](https://github.com/advisories/GHSA-w293-vg96-wgc3), CC-BY-4.0, modified 2026-09-29
- NVD: [CVE-2026-84961](https://nvd.nist.gov/vuln/detail/CVE-2026-84961), Public domain, modified 2026-09-15

---

Page: https://cve.day/CVE-2026-84961 · Whole record: https://cve.day/CVE-2026-84961.json · Rebuilt by cve.day 2026-11-25T22:59:36.373Z
