CVE-2026-2581Nodejs Undici
Medium 5.9 No auth needed
Follow: this CVE · Nodejs · Nodejs Undici We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.9
- EPSS
- —
- Auth required
- No
- Published
- Mar 12, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-770
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Undici.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | undici |
≥ 7.17.0 < 7.24.0 |
7.24.0 |
npm install undici@7.24.0 |
Per OSV / GitHub Advisories (GHSA-phc3-fgpg-7m6h). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nodejs | undici | ≥ 7.17.0 < 7.24.0 |
Official advisories
- Security update for nodejs24 · SUSE · openSUSE-SU-2026:21236-1 · Jul 6, 2026 Critical
- Security update for nodejs24 · SUSE · SUSE-SU-2026:22565-1 · Jul 6, 2026 Critical
- Security update for nodejs24 · SUSE · SUSE-SU-2026:2633-1 · Jun 25, 2026 Critical
- Red Hat Security Advisory: nodejs24 security update · Red Hat · RHSA-2026:7675 · Apr 13, 2026 High
- Red Hat Security Advisory: nodejs:24 security update · Red Hat · RHSA-2026:7670 · Apr 13, 2026 High
- Red Hat Security Advisory: nodejs:24 security update · Red Hat · RHSA-2026:7350 · Apr 10, 2026 High
Also: SUSE (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- cna.openjsf.org Vendor Advisory
- github.com Mitigation Vendor Advisory
- hackerone.com Permissions Required