CVE-2026-2581
MEDIUM 5.9CVSS 3.1Undici has Unbounded Memory Consumption in its DeduplicationHandler via Response Buffering that leads to DoS
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.
- Published
- 12 Mar 2026
- Last modified
- 10 Sep 2026
- Assigned by
- ce714d77-add3-4f53-aff5-83d477b104bb
- NVD status
- Analyzed
- Weakness
- CWE-770
- Also known as
- GHSA-phc3-fgpg-7m6h
- Sources
- NVDJSONOSV GHSA-phc3-fgpg-7m6hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | ce714d77-add3-4f53-aff5-83d477b104bb (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nodejs | undicicpe:2.3:a:nodejs:undici:*:*:*:*:*:node.js:*:* |
>= 7.17.0, < 7.24.0 | 7.24.0 |
| OSV | npm | undici | >= 7.17.0, < 7.24.0 | 7.24.0 |
References
- https://cna.openjsf.org/security-advisories.html · Vendor Advisory, WEB
- https://github.com/nodejs/undici/security/advisories/GHSA-phc3-fgpg-7m6h · Mitigation, Vendor Advisory, WEB
- https://hackerone.com/reports/3513473 · Permissions Required, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-2581 · ADVISORY
- https://github.com/nodejs/undici · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 12 Mar 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Mar 2026)