CVE-2026-135194

undici vulnerable to Denial of Service via unhandled error in the dump and retry interceptors

Published Dec 5, 2026 CVSS 3.1 · 5.9 Medium EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
openjs
Published
Updated
Dec 5, 2026, 10:16 AM
Reserved
Nov 23, 2026, 2:49 PM

No data.