CVE-2026-135194: undici vulnerable to Denial of Service via unhandled error in the dump and retry interceptors

Published Dec 5, 2026
·
Updated

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.

Affected Software

1 affected component
npm/undici>=7.29.1<=7.30.3, >=8.10.2<=8.14.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/undici to a version that resolves this vulnerability.

    Fixed in 7.30.4
  2. Upgrade

    Upgrade npm/undici to a version that resolves this vulnerability.

    Fixed in 8.14.1
  3. Compensating control

    As a workaround, avoid composing the retry interceptor with the dump interceptor on dispatchers whose response bodies are discarded, or pass a custom retry function that tolerates a non-object error.

Event History

Dec 5, 2026
CVE Published
via MITRE·10:16 AM
Data Sourced
via MITRE·10:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Affected deployments use undici versions 7.29.1 through 7.30.3 or 8.10.2 through 8.14.0, compose both the dump and retry interceptors on a dispatcher, and discard response bodies with the documented dump method. Earlier releases and the 6.x line are not affected.

2

What does an attacker need to do to trigger the denial of service?

A remote unauthenticated server needs to return a response with a Content-Length larger than the body actually sent, send only a partial body, and close the connection. A single such response can cause the Node.js process to exit.

3

Can application error handling catch the failure?

No. The failure is emitted as an error event on an internal client without a listener, so it is not caught by the application's try/catch or by the promise returned from request.

4

What can be done before upgrading?

Avoid composing the retry interceptor with the dump interceptor on dispatchers where response bodies are discarded. Alternatively, provide a custom retry function that does not read the lost abort reason.

5

Which versions fix the issue?

Upgrade to undici 7.30.4, 8.14.1, or a later version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203