CVE-2026-120415
Last modified
CVE-2026-120415 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, the redirect interceptor strips sensitive headers such as Authorization, Cookie, Proxy-Authorization, and Host when a request is redirected to a different origin, but when request headers are supplied as an array of name and value tuples (a valid documented input, for example from Object.entries), the redirect handler misreads them as a flat list so the header names never match and the sensitive headers are not removed. EPSS estimates a 0.30% chance of exploitation in the next 30 days.
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, the redirect interceptor strips sensitive headers such as Authorization, Cookie, Proxy-Authorization, and Host when a request is redirected to a different origin, but when request headers are supplied as an array of name and value tuples (a valid documented input, for example from Object.entries), the redirect handler misreads them as a flat list so the header names never match and the sensitive headers are not removed. If a header-normalizing interceptor such as cache or deduplicate is composed outside the redirect interceptor, it then serializes the retained headers onto the cross-origin request, disclosing the caller's origin-bound credentials to the unrelated redirect destination. This is a representation-dependent bypass of the cross-origin header stripping added in CVE-2024-30260. 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, supply request headers as a plain object or a flat name and value array rather than an array of tuples, or compose the redirect interceptor outside the normalizing interceptor.
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-120415?
How severe is CVE-2026-120415?
How do I fix CVE-2026-120415?
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-12039Docker Sandboxes (sbx) enforces an HTTP/S-only egress allowl…5.7
- CVE-2026-120399A flaw was found in flightctl. A TLS handshake is performed …7.5
- CVE-2026-120407The Contact Form 7 WordPress plugin before 6.2.5 does not re…4.5
- CVE-2026-120408The All-in-One Video Gallery WordPress plugin before 5.1.0 …8
- CVE-2026-120409The All-in-One Video Gallery WordPress plugin before 5.1.1 …5.3
- CVE-2026-12041The Chatra Live Chat + ChatBot + Cart Saver plugin for WordP…4.4
- CVE-2026-120416A security vulnerability has been detected in AndyFactory ne…5.3
- CVE-2026-12042The WP2Social Auto Publish plugin for WordPress is vulnerabl…4.4
- CVE-2026-120421In Eclipse Mojarra versions 2.2.0 through 4.0.28, 4.1.0 thro…6.1
- CVE-2026-120422Sogou Input Method for Windows contains a vulnerability in t…8.9
- CVE-2026-120423undici is an HTTP client for Node.js. In versions 7.15.0 thr…5.9
- CVE-2026-120425Chatify before 1.6.4 contains an authorization bypass vulner…6.5
Are you affected by CVE-2026-120415?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
