cvelo
P3 · MediumCVSS 5.9

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

  • CVE-2026-135194
  • EUVD-2026-145412

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.

Text from the CVE.org record.

Recommendation

  • undici

    • If you run a version from 8.10.2 to before 8.14.1update to 8.14.1 or laterMinor version change: check the release notes
    • If you run a version from 7.29.1 to before 7.30.4update to 7.30.4 or laterMinor version change: check the release notes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • undici

    Affected versionsFixed in
    from 8.10.2 to before 8.14.18.14.1
    from 7.29.1 to before 7.30.47.30.4

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.