CVE-2026-120222
Last modified
CVE-2026-120222 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| undici | undici | >= 7.0.0, < 7.30.2; >= 8.0.0, < 8.12.4 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-120222?
How severe is CVE-2026-120222?
How do I fix CVE-2026-120222?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-120214@fastify/http-proxy is a Fastify plugin that proxies HTTP re…5.9
- CVE-2026-120215@fastify/cors is the CORS plugin for the Fastify web framewo…3.7
- CVE-2026-120216fastify is a web framework for Node.js. In versions 5.8.0 th…5.9
- CVE-2026-120217A vulnerability was detected in Delgan loguru 0.7.3. The aff…4.3
- CVE-2026-120218A flaw has been found in Typemill up to 2.26.0. The impacted…3.5
- CVE-2026-12022Race in Safe Browsing in Google Chrome on Mac prior to 149.0…8.3
- CVE-2026-120223A vulnerability was identified in Oray Pugongying X5 Pro up …3.1
- CVE-2026-120224A security flaw has been discovered in Oray Pugongying X5 Pr…9.9
- CVE-2026-120225A weakness has been identified in Oray Pugongying X5 Pro up …9.1
- CVE-2026-120226A security vulnerability has been detected in Hangzhou Xiong…3.3
- CVE-2026-120227A vulnerability was detected in WAVLINK WN701AE M01AE_V26010…9.9
- CVE-2026-120228A flaw has been found in WAVLINK WN553X1-B V260403_2.0.0. Th…9.9
Are you affected by CVE-2026-120222?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
