Uncaught Exception in undici - CVE-2026-120222

 

Uncaught Exception in undici - CVE-2026-120222

Published: November 6, 2026


Vulnerability identifier: #VU159752
CSH Severity: Medium
CVSS v4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-120222
CWE-ID: CWE-248
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an unauthenticated remote attacker to terminate a client’s Node.js process, causing denial of service.

The vulnerability exists due to uncaught exceptions during response replay in undici’s cache interceptor when combined with a response handler that throws during processing. An unauthenticated remote attacker can serve a cacheable response from a controlled HTTP server that triggers the handler’s size or encoding limits when replayed, crashing the client.


Affected software

undici

How to mitigate CVE-2026-120222

Install security update from vendor's website.

undici - addressed in versions 7.30.2, 8.12.4

External References

Related Security Bulletins