CVE-2026-141996
Awaiting Analysis Awaiting Analysis - Queue

HTTP Request Smuggling in Undici Node.js Client

Vulnerability report for CVE-2026-141996, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-05

Last updated on: 2026-12-05

Assigner: openjs

Description

undici is an HTTP client for Node.js. In versions 6.8.0 through 6.29.1, 7.0.0 through 7.30.3, and 8.0.0 through 8.14.0, the redirect interceptor builds each follow-up request from the options of the previous one and, on a cross-origin redirect, kept the TLS servername of the first request, so the redirect target's certificate was validated against the first host's name instead of its own. Applications are affected when they follow redirects with the redirect interceptor and the first request carries a servername, either passed as a request option or set by the dns interceptor composed outside the redirect interceptor, and requests sent through a ProxyAgent tunnel without requestTls are affected in the same way, while fetch is not affected. A party that holds a valid certificate for the first host and can intercept traffic to the redirect target can impersonate the target and read or modify the redirected request and its response. The issue is fixed in undici 6.29.2, 7.30.4, and 8.14.1, and users should upgrade to one of those versions or later. As a workaround, compose the dns interceptor inside the redirect interceptor and do not pass a servername on requests that follow redirects, or disable automatic redirects and follow them in application code.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-05
Last Modified
2026-12-05
Generated
2026-12-06
AI Q&A
2026-12-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 13 associated CPEs
Vendor Product Version / Range
undici undici From 6.8.0 (inc) to 6.29.1 (inc)
undici undici From 7.0.0 (inc) to 7.30.3 (inc)
undici undici From 8.0.0 (inc) to 8.14.0 (inc)
undici undici 6.29.2
undici undici 7.30.4
undici undici 8.14.1
nodejs undici From 6.0.0 (inc) to 8.14.0 (inc)
nodejs undici From 6.8.0 (inc) to 6.29.1 (inc)
nodejs undici From 7.0.0 (inc) to 7.30.3 (inc)
nodejs undici From 8.0.0 (inc) to 8.14.0 (inc)
nodejs undici 6.29.2
nodejs undici 7.30.4
nodejs undici 8.14.1

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-295 The product does not validate, or incorrectly validates, a certificate.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the undici HTTP client for Node.js. When handling cross-origin redirects, the redirect interceptor incorrectly retains the original servername (TLS hostname) from the first request. This causes the client to validate the redirect target's certificate against the initial host's name instead of the redirect target's own name. An attacker with a valid certificate for the initial host and the ability to intercept traffic can exploit this to impersonate the target, read, or modify redirected requests and responses.

The issue occurs in versions 6.8.0 through 6.29.1, 7.0.0 through 7.30.3, and 8.0.0 through 8.14.0 when using the redirect interceptor with cross-origin redirects or when servername is set via request options or DNS interceptors.

Detection Guidance

Detecting this vulnerability requires checking if your system uses vulnerable versions of undici (6.8.0-6.29.1, 7.0.0-7.30.3, or 8.0.0-8.14.0) and if it follows cross-origin redirects with servername settings. Inspect package.json for undici versions and review application code for redirect handling logic. No direct network commands detect this, but monitoring for unexpected certificate validation failures during redirects may indicate exploitation.

Impact Analysis

If you use undici in your application and it follows cross-origin redirects, an attacker could intercept and decrypt your traffic or modify requests and responses. This could lead to data breaches, unauthorized access, or manipulation of sensitive information. The impact is highest if your application handles sensitive data like passwords, tokens, or personal information.

Compliance Impact

This vulnerability could lead to unauthorized access or exposure of sensitive data, which may violate GDPR's data protection principles or HIPAA's security requirements for protected health information. Organizations using affected undici versions may face compliance violations, legal penalties, or reputational damage if exploited.

Mitigation Strategies

Upgrade undici to versions 6.29.2, 7.30.4, or 8.14.1 or later. If upgrading is not possible, avoid passing servername in requests that follow redirects or compose the dns interceptor inside the redirect interceptor. Disable automatic redirects and handle them manually in application code to prevent servername retention during cross-origin redirects.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-141996. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...