undici is an HTTP client for Node.js. In versions 7.29.1 through 7.30.3 and 8.10.2 through 8.14.0, when a dispatcher is composed with the dump and retry interceptors and the application discards a response body with the documented dump method, a malicious or faulty server that announces a larger content-length than it sends, delivers a partial body, and closes the connection makes the abort reason get lost on the way to the retry handler, whose default retry function then throws while reading it. The throw surfaces as an error event on an internal client with no listener, so the Node.js process exits, and neither the application's try/catch nor the promise returned by request catches it. A remote, unauthenticated server can trigger this with a single response, which results in denial of service. The bug was introduced by the fix for CVE-2026-84947, and earlier releases and the 6.x line are not affected. The issue is fixed in undici 7.30.4 and 8.14.1, and users should upgrade to one of those versions or later. As a workaround, avoid composing the retry interceptor together with the dump interceptor on dispatchers whose response bodies are discarded, or pass a custom retry function that tolerates a non-object error.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Sat, 05 Dec 2026 14:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Undici
Undici undici |
|
| Vendors & Products |
Undici
Undici undici |
Sat, 05 Dec 2026 10:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | undici is an HTTP client for Node.js. In versions 7.29.1 through 7.30.3 and 8.10.2 through 8.14.0, when a dispatcher is composed with the dump and retry interceptors and the application discards a response body with the documented dump method, a malicious or faulty server that announces a larger content-length than it sends, delivers a partial body, and closes the connection makes the abort reason get lost on the way to the retry handler, whose default retry function then throws while reading it. The throw surfaces as an error event on an internal client with no listener, so the Node.js process exits, and neither the application's try/catch nor the promise returned by request catches it. A remote, unauthenticated server can trigger this with a single response, which results in denial of service. The bug was introduced by the fix for CVE-2026-84947, and earlier releases and the 6.x line are not affected. The issue is fixed in undici 7.30.4 and 8.14.1, and users should upgrade to one of those versions or later. As a workaround, avoid composing the retry interceptor together with the dump interceptor on dispatchers whose response bodies are discarded, or pass a custom retry function that tolerates a non-object error. | |
| Title | undici vulnerable to Denial of Service via unhandled error in the dump and retry interceptors | |
| Weaknesses | CWE-248 | |
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: openjs
Published:
Updated: 2026-12-05T10:16:39.293Z
Reserved: 2026-11-23T14:49:59.730Z
Link: CVE-2026-135194
No data.
Status : Awaiting Analysis
Published: 2026-12-05T11:17:42.317
Modified: 2026-12-05T11:17:42.453
Link: CVE-2026-135194
No data.
OpenCVE Enrichment
Updated: 2026-12-05T14:00:21Z
Weaknesses