Advisory

GHSA-pmjh-fq2x-6v4x

Also known as: CVE-2026-18149

Summary

undici vulnerable to Denial of Service via orphaned RetryHandler response body

Details

Impact

undici's RetryHandler can leave a response body pending indefinitely. When a retried request receives a non-retryable response after a truncated one, the original response.body held by the application is never settled, so reads such as response.body.text() hang and bodyTimeout does not fire. A malicious server can repeat this to accumulate pending promises and streams, leading to denial of service.

Patches

Patched in undici v7.29.1 and v8.10.2.

Workarounds

Impose an independent request deadline and destroy the response body when it expires. bodyTimeout alone does not prevent this.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-09-29 18:22 UTC
Modified
2026-09-29 18:30 UTC

Affected packages and fixes

undici

npm · All systems

Affected

  • introduced 7.11.0, fixed 7.29.1 (semver)

Fixed versions

7.29.1

Fix

undici

npm · All systems

Affected

  • introduced 8.0.0, fixed 8.10.2 (semver)

Fixed versions

8.10.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences