CVE catalog

CVE-2026-84961

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-

[CVE catalog]

Severity
High · CVSS 7.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.18% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-undicisid8.12.2+dfsg+~cs3.2.3-2fixed
Debiannode-undiciforky8.10.2+dfsg+~cs3.2.2-1fixed
Debiannode-undicitrixie7.3.0+dfsg1+~cs24.12.11-1vulnerable
Debiannode-undicibookworm5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4vulnerable
Debiannode-undicibookworm-security5.15.0+dfsg1+~cs20.10.9.3-1+deb12u3vulnerable
CpeundiciNot reported8.10.2fixed
NpmundiciNot reported8.10.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-undicisourcesid8.10.2+dfsg+~cs3.2.2-1not yet assignedNot reported[1146745]
Debiannode-undicisourceforky8.10.2+dfsg+~cs3.2.2-1not yet assignedNot reported[1146745]
Debiannode-undicisourcetrixie(unfixed)not yet assignedNot reported[1146745]
Debiannode-undicisourcebookworm(unfixed)not yet assignedNot reported[1146745]
CpeundicicpeNot reported8.10.2Not reportedNVD-CVE-2026-84961Not reported
NpmundicinpmNot reported8.10.2Not reportedGHSA-W293-VG96-WGC3Not reported

[Debian bug #1146745]

Notes

[trixie] node-undici: Minor issue [bookworm] node-undici: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [node-llhttp]Affected

    Source package: [node-undici]

    Details (4)
    • 8.1.0~5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4 · all · bookworm

      Affected

      nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12

    • 8.1.0~5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4 · all · bookworm

      Affected

      nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12

    • 8.1.0~5.15.0+dfsg1+~cs20.10.9.3-1+deb12u3 · all · bookworm-security

      Affected

      nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12

    • 8.1.0~5.15.0+dfsg1+~cs20.10.9.3-1+deb12u3 · all · bookworm-security

      Affected

      nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12

  • [node-undici]Affected
    Details (4)
    • 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4 · all · bookworm

      Affected

      nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12

    • 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4 · all · bookworm

      Affected

      nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12

    • 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u3 · all · bookworm-security

      Affected

      nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12

    • 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u3 · all · bookworm-security

      Affected

      nvd · node-undici · debian · bookworm; nvd · node-undici · debian · 12

[Debian 13 (Trixie)]

  • [libllhttp9.2]Affected

    Source package: [node-undici]

    Details (2)
    • 9.2.1~7.3.0+dfsg1+~cs24.12.11-1 · amd64 · trixie

      Affected

      nvd · node-undici · debian · 13

    • 9.2.1~7.3.0+dfsg1+~cs24.12.11-1 · arm64 · trixie

      Affected

      nvd · node-undici · debian · 13

  • [libllhttp-dev]Affected

    Source package: [node-undici]

    Details (2)
    • 9.2.1~7.3.0+dfsg1+~cs24.12.11-1 · amd64 · trixie

      Affected

      nvd · node-undici · debian · 13

    • 9.2.1~7.3.0+dfsg1+~cs24.12.11-1 · arm64 · trixie

      Affected

      nvd · node-undici · debian · 13

  • [node-llhttp]Affected

    Source package: [node-undici]

    Details (2)
    • 9.2.1~7.3.0+dfsg1+~cs24.12.11-1 · all · trixie

      Affected

      nvd · node-undici · debian · 13

    • 9.2.1~7.3.0+dfsg1+~cs24.12.11-1 · all · trixie

      Affected

      nvd · node-undici · debian · 13

  • [node-undici]Affected
    Details (2)
    • 7.3.0+dfsg1+~cs24.12.11-1 · all · trixie

      Affected

      nvd · node-undici · debian · 13

    • 7.3.0+dfsg1+~cs24.12.11-1 · all · trixie

      Affected

      nvd · node-undici · debian · 13

Observed:

References