{"id":"CVE-2026-120222","state":"PUBLISHED","title":"undici vulnerable to Denial of Service via unhandled exception in cache-interceptor response replay","description":"undici is an HTTP client for Node.js. In versions 7.0.0 through 7.30.1 and 8.0.0 through 8.12.3, when the cache interceptor is composed with a downstream handler that throws during response processing (such as the built-in dump interceptor exceeding its maxSize, or the decompress interceptor rejecting more than five Content-Encoding values), a throw raised asynchronously while a cached response is replayed escapes as an uncaught exception or unhandled promise rejection and terminates the Node.js process. A malicious or compromised HTTP server can crash any such client by serving a cacheable response that triggers the throw on replay, including on a 304 revalidation of a stale entry, so the impact is availability only. The issue is fixed in undici 7.30.2 and 8.12.4, and users should upgrade to one of those versions or later. As a workaround, avoid composing the cache interceptor with a response handler that throws during response processing until upgrading.","publishedAt":"2026-11-06T10:00:50.635Z","updatedAt":"2026-11-10T17:46:47.844Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"openjs"},"assigner":"openjs","products":["undici undici"],"affected":[{"vendor":"undici","product":"undici","packageURL":"pkg:npm/undici","defaultStatus":"unaffected","versions":[{"version":"7.0.0","status":"affected","lessThan":"7.30.2","versionType":"semver"},{"version":"7.30.2","status":"unaffected","versionType":"semver"},{"version":"8.0.0","status":"affected","lessThan":"8.12.4","versionType":"semver"},{"version":"8.12.4","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/nodejs/undici/security/advisories/GHSA-3g9m-rv3r-w5w2","https://cna.openjsf.org/security-advisories.html"],"weaknesses":["CWE-248","CWE-755"],"ingestedAt":"2026-11-10T18:18:06.757Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/120xxx/CVE-2026-120222.json","commit":"a9d8632bd0a51df6877bf3c53d17f3a290cdf94b","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-120222","state":"PUBLISHED","datePublished":"2026-11-06T10:00:50.635Z","dateUpdated":"2026-11-10T17:46:47.844Z","assignerShortName":"openjs","assignerOrgId":"ce714d77-add3-4f53-aff5-83d477b104bb","dateReserved":"2026-10-31T19:03:40.724Z"},"containers":{"cna":{"title":"undici vulnerable to Denial of Service via unhandled exception in cache-interceptor response replay","descriptions":[{"lang":"en","value":"undici is an HTTP client for Node.js. In versions 7.0.0 through 7.30.1 and 8.0.0 through 8.12.3, when the cache interceptor is composed with a downstream handler that throws during response processing (such as the built-in dump interceptor exceeding its maxSize, or the decompress interceptor rejecting more than five Content-Encoding values), a throw raised asynchronously while a cached response is replayed escapes as an uncaught exception or unhandled promise rejection and terminates the Node.js process. A malicious or compromised HTTP server can crash any such client by serving a cacheable response that triggers the throw on replay, including on a 304 revalidation of a stale entry, so the impact is availability only. The issue is fixed in undici 7.30.2 and 8.12.4, and users should upgrade to one of those versions or later. As a workaround, avoid composing the cache interceptor with a response handler that throws during response processing until upgrading."}],"affected":[{"vendor":"undici","product":"undici","packageURL":"pkg:npm/undici","defaultStatus":"unaffected","versions":[{"version":"7.0.0","status":"affected","lessThan":"7.30.2","versionType":"semver"},{"version":"7.30.2","status":"unaffected","versionType":"semver"},{"version":"8.0.0","status":"affected","lessThan":"8.12.4","versionType":"semver"},{"version":"8.12.4","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-3g9m-rv3r-w5w2"},{"url":"https://cna.openjsf.org/security-advisories.html"}],"metrics":[{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":5.9,"baseSeverity":"MEDIUM"},"scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-248","lang":"en","description":"CWE-248: Uncaught Exception","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-755","lang":"en","description":"CWE-755: Improper Handling of Exceptional Conditions","type":"CWE"}]}],"providerMetadata":{"shortName":"openjs","orgId":"ce714d77-add3-4f53-aff5-83d477b104bb","dateUpdated":"2026-11-06T10:00:50.635Z"},"credits":[{"lang":"en","type":"reporter","value":"manus-use"},{"lang":"en","type":"remediation developer","value":"mcollina"},{"lang":"en","type":"remediation developer","value":"UlisesGascon"}],"x_generator":{"engine":"cve-kit 1.0.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-10T17:46:29.400804Z","id":"CVE-2026-120222","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-10T17:46:47.844Z"}}]}}}