CVE-2026-6733: Undici Undici Vulnerable To HTTP Response Vulnerability
LOWCVE-2026-6733 is a LOW (CVSS 3.7) undici vulnerable to http response vulnerability (CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition) affecting Undici libraries in the npm ecosystem. The issue involves undici vulnerable to http response queue poisoning via keep-alive socket reuse. Remediation is available by upgrading affected packages to version 8.5.0, 7.28.0, 6.27.0.
CVE-2026-6733 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-6733
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@8.5.0
npm install undici@7.28.0
npm install undici@6.27.0
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-6733, 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 8.5.0), 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-367: Time-of-check Time-of-use (TOCTOU) Race Condition, where the product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. 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-6733 Affected Undici Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
undici
|
npm |
≥ 8.0.0
< 8.5.0
|
8.5.0
|
|
undici
|
npm |
≥ 7.0.0
< 7.28.0
|
7.28.0
|
|
undici
|
npm |
< 6.27.0
|
6.27.0
|
References
Frequently Asked Questions
What is CVE-2026-6733?
Which Undici versions are affected?
What version fixes CVE-2026-6733?
Is undici affected?
What is the CVSS score of CVE-2026-6733?
What CWE is associated with CVE-2026-6733?
How can I check npm dependencies for CVE-2026-6733?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-35p6-xmwp-9g52",
"modified" : "2026-08-05T21:48:38Z",
"published" : "2026-06-19T14:19:13Z",
"aliases" : [ "CVE-2026-6733" ],
"summary" : "undici vulnerable to HTTP response queue poisoning via keep-alive socket reuse",
"details" : "## Impact\n\nUndici's HTTP/1.1 client is vulnerable to response queue poisoning on reused keep-alive sockets. An attacker-controlled upstream server can inject an unsolicited HTTP/1.1 response onto an idle socket after a request completes. When the client dispatches the next request on that socket, it associates the injected response with the new request, causing responses to be delivered to the wrong requests.\n\nThis requires an attacker-controlled or compromised upstream HTTP/1.1 server and keep-alive connection reuse.\n\n## Patches\n\nUpgrade to undici v6.27.0, v7.28.0 or v8.5.0.\n\n## Workarounds\n\nDisable keep-alive connection reuse by setting `keepAliveTimeout: 0` on the Client or Pool.",
"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" : "0"
}, {
"fixed" : "6.27.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "undici"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.28.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "undici"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"fixed" : "8.5.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/nodejs/undici/security/advisories/GHSA-35p6-xmwp-9g52"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-6733"
}, {
"type" : "WEB",
"url" : "https://github.com/nodejs/undici/commit/6ea54ef8c4051e95bb68c89d4a5c9274fe6fbb4b"
}, {
"type" : "WEB",
"url" : "https://hackerone.com/reports/3582376"
}, {
"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/v6.27.0"
}, {
"type" : "WEB",
"url" : "https://github.com/nodejs/undici/releases/tag/v7.28.0"
}, {
"type" : "WEB",
"url" : "https://github.com/nodejs/undici/releases/tag/v8.5.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-367" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-19T14:19:13Z",
"nvd_published_at" : "2026-06-17T18:18:05Z"
}
}