Skip to main content
VulnerabilityPublished

CVE-2026-141996: undici · Improper Certificate Validation

Affects undiciSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.4 High · fixed in 8.14.1 : patch undici soon.

Data as of 5 Dec 2026, 09:59 UTC

CVSS 3.1 base score
7.4High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (openjs)CVSS 3.17.4
Patch
Available – fixed in 8.14.1, 7.30.4, 6.29.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.

What to do

Upgrade undici to 8.14.1, 7.30.4 or 6.29.2.

Affected software

ProductAffectedFixed in
undiciundiciAffected
  • >=8.0.0 <8.14.1
Fixed in
  • 8.14.1
undiciundiciAffected
  • >=7.0.0 <7.30.4
Fixed in
  • 7.30.4
undiciundiciAffected
  • >=6.8.0 <6.29.2
Fixed in
  • 6.29.2
npmundicipkg:npm/undiciOther threatsAffected
  • >=8.0.0 <8.14.1
  • >=7.0.0 <7.30.4
  • >=6.8.0 <6.29.2
Fixed in
  • 8.14.1
  • 7.30.4
  • 6.29.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in undici versions 6.29.2, 7.30.4, and 8.14.1. Users should upgrade to one of these versions or later to remediate the vulnerability. As a workaround, users can compose the dns interceptor inside the redirect interceptor and avoid passing a servername option on requests that follow redirects. Alternatively, disabling automatic redirects and handling them manually in application code can mitigate the issue. No other actions are required.

Description

CVE-2026-141996 is a vulnerability in the undici HTTP client for Node.js affecting versions 6.8.0 through 6.29.1, 7.0.0 through 7.30.3, and 8.0.0 through 8.14.0. The issue arises from improper TLS servername validation during cross-origin redirects, where the certificate of the redirect target is validated against the original host's name instead of its own. This flaw allows an attacker with a valid certificate for the first host and the ability to intercept traffic to impersonate the redirect target, potentially reading or modifying redirected requests and responses. The vulnerability is fixed in versions 6.29.2, 7.30.4, and 8.14.1. Users are advised to upgrade to these or later versions or apply recommended workarounds involving interceptor composition or disabling automatic redirects.

References

Community reviews

Loading reviews…