CVE-2026-2581 Details
Description
This is an uncontrolled resource consumption vulnerability (CWE-400) that can lead to Denial of Service (DoS). In vulnerable Undici versions, when interceptors.deduplicate() is enabled, response data for deduplicated requests could be accumulated in memory for downstream handlers. An attacker-controlled or untrusted upstream endpoint can exploit this with large/chunked responses and concurrent identical requests, causing high memory usage and potential OOM process termination. Impacted users are applications that use Undici’s deduplication interceptor against endpoints that may produce large or long-lived response bodies. PatchesThe issue has been patched by changing deduplication behavior to stream response chunks to downstream handlers as they arrive (instead of full-body accumulation), and by preventing late deduplication when body streaming has already started. Users should upgrade to the first official Undici (and Node.js, where applicable) releases that include this patch.
A denial-of-service vulnerability due to uncontrolled resource consumption has been identified in Undici versions 7.17.0 prior to 7.24.0. When the deduplication interceptor is enabled, response data from deduplicated requests can accumulate in memory for downstream handlers. This issue can be exploited by an attacker-controlled or untrusted upstream endpoint that sends large or chunked responses along with concurrent identical requests. The result is high memory usage, potentially leading to out-of-memory process termination. Applications using Undici's deduplication interceptor with endpoints that generate large or long-lived response bodies are impacted.
Users should upgrade to Undici version 7.24.0 or later. If an immediate upgrade is not possible, the deduplication interceptor can be disabled for affected clients or routes. Alternatively, high-risk requests can be forced to bypass deduplication by using the skipHeaderNames option with a marker header. It is also advisable to apply response-size and timeout limits at the upstream or proxy level.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cna.openjsf.org/security-advisories.html | openjs | Vendor Advisory |
| https://github.com/nodejs/undici/security/advisories/GHSA-phc3-fgpg-7m6h | openjs | MitigationVendor Advisory |
| https://hackerone.com/reports/3513473 | openjs | Permissions Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling | openjs |
Affected Products
| Product | Versions |
|---|---|
| nodejs undici | >= 7.17.0, < 7.24.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | openjs |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 18, 2026 | Initial Analysis | [email protected] |
| Mar 12, 2026 | New CVE Received | openjs |