# GHSA-4232-7JH5-4QQF: undici vulnerable to Denial of Service via unhandled exception resuming tuple-array header requests

- Database: GitHub
- Severity: CVSS 7.5 (High)
- Published: 2026-12-04
- Modified: 2026-12-04

## Tracked as

- [CVE-2026-138000](https://cve.now/CVE-2026-138000.md): undici denial of service in HTTP retry interceptor

## Affected versions

- undici (npm): from 8.12.0, fixed in 8.14.1

## Description

### Impact

When an application composes the `retry` interceptor outside an interceptor that normalizes request headers (`dns`, `cache` or `deduplicate`, for example `compose(interceptors.dns(), interceptors.retry())`) and passes request headers as an array of pairs (a tuple array), an origin that sends part of a resumable response body and then closes the connection drives the retry interceptor to rebuild the request headers for a byte-range resume. `buildResumeHeaders` reads every array as a flat key/value list, so it calls `toLowerCase()` on a tuple, throwing an uncaught `TypeError` inside the retry timer and terminating the Node.js process. The attacker controls only the response; the application must compose `retry` outside one of those interceptors and supply tuple-array headers. The impact is availability of the undici client process. The vulnerable resume-header handling exists only in undici 8.12.0 and later.

### Patches

Upgrade to `8.14.1`, which routes tuple-array headers to the existing per-pair handling so the resume path no longer throws. The 7.x line is not affected (the resume-header feature was introduced in 8.12.0).

### Workarounds

Pass request headers as an object or a flat key/value array rather than an array of pairs, until upgrading.

## References

- https://github.com/nodejs/undici/security/advisories/GHSA-4232-7jh5-4qqf

Page: https://cve.now/GHSA-4232-7JH5-4QQF

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
