EnvMap GitHub

CVE-2026-141996

undici vulnerable to TLS certificate validation bypass via servername reused on cross-origin redirects

Awaiting Analysis

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.

In the words of the organisation that published it (openjs).

Severity

  • 7.4 High · CVSS 3.1 from ce714d77-add3-4f53-aff5-83d477b104bb · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected

  • undici: from 8.0.0 before 8.14.1; from 7.0.0 before 7.30.4; from 6.8.0 before 6.29.2

as the publisher (openjs) lists them.

Weakness

CWE-295

References

Record

Published10:17 UTC, 5 December 2026
Last changed10:17 UTC, 5 December 2026
NVD statusAwaiting Analysis
Published byopenjs

CVE-2026-141996 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.