CVE-2026-84947: Undici Remote Code Execution Vulnerability
LOWCVE-2026-84947 is a LOW (CVSS 3.7) remote code execution vulnerability (CWE-20: Improper Input Validation) affecting Undici libraries in the npm ecosystem. The issue involves undici vulnerable to response truncation via oversized chunked responses in the dump interceptor. Remediation is available by upgrading affected packages to version 7.29.1, 8.10.2.
CVE-2026-84947 at a Glance
Security Impact
CVSS: 3.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N).
How to Fix CVE-2026-84947
To remediate this vulnerability, upgrade all affected Undici dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install undici@7.29.1
npm install undici@8.10.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls undici
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-84947, inspect your project dependencies using npm:
npm ls undici
Analyze the terminal output to locate any version of Undici in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.29.1), your application is affected.
Note: The npm ls undici command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Undici, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-84947 Affected Undici Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
undici
|
npm |
≥ 7.1.0
< 7.29.1
|
7.29.1
|
|
undici
|
npm |
≥ 8.0.0
< 8.10.2
|
8.10.2
|
References
Frequently Asked Questions
What is CVE-2026-84947?
Which Undici versions are affected?
What version fixes CVE-2026-84947?
Is undici affected?
What is the CVSS score of CVE-2026-84947?
What CWE is associated with CVE-2026-84947?
How can I check npm dependencies for CVE-2026-84947?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2gqq-gqf2-x968",
"modified" : "2026-09-29T18:18:51Z",
"published" : "2026-09-29T18:18:51Z",
"aliases" : [ "CVE-2026-84947" ],
"summary" : "undici vulnerable to response truncation via oversized chunked responses in the dump interceptor",
"details" : "### Impact\n\nundici's `interceptors.dump()` reads and discards response bodies up to a configurable `maxSize`. When a response declares a `Content-Length` that exceeds `maxSize`, the request is aborted cleanly. When a response is sent chunked (no `Content-Length`) and its body exceeds `maxSize`, it is not aborted: the interceptor ends the response early once the accumulated size reaches `maxSize`, and continued delivery from the parser triggers an internal assertion that is caught and turned into a request abort and connection tear-down. The application observes a misleading `200` with an empty or truncated body while the connection is disconnected. Any application using the dump interceptor against untrusted or misbehaving upstreams is affected.\n\n### Patches\n\nUpgrade to `7.29.1` or `8.10.2`. The dump interceptor now enforces `maxSize` on both the declared and the received body size, aborting the request with a `RequestAbortedError` instead of returning a truncated response.\n\n### Workarounds\n\nNone. Avoid using `interceptors.dump()` with untrusted upstreams until upgraded.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "undici"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.1.0"
}, {
"fixed" : "7.29.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "undici"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"fixed" : "8.10.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/nodejs/undici/security/advisories/GHSA-2gqq-gqf2-x968"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-84947"
}, {
"type" : "WEB",
"url" : "https://github.com/nodejs/undici/commit/21693f406f0142f3504192e9f9b022dcf84782ae"
}, {
"type" : "WEB",
"url" : "https://github.com/nodejs/undici/commit/6d583124e7cf60b640097d64144ed633cc450584"
}, {
"type" : "WEB",
"url" : "https://cna.openjsf.org/security-advisories.html"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/nodejs/undici"
}, {
"type" : "WEB",
"url" : "https://github.com/nodejs/undici/releases/tag/v7.29.1"
}, {
"type" : "WEB",
"url" : "https://github.com/nodejs/undici/releases/tag/v8.10.2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-248" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-09-29T18:18:51Z",
"nvd_published_at" : "2026-09-04T17:17:02Z"
}
}