Skip to main content
VulnerabilityPublished

CVE-2026-139849: 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, 10:11 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.14.0 <6.29.2
Fixed in
  • 6.29.2
npmundicipkg:npm/undiciOther threatsAffected
  • >=6.14.0 <6.29.2
  • >=7.0.0 <7.30.4
  • >=8.0.0 <8.14.1
Fixed in
  • 6.29.2
  • 7.30.4
  • 8.14.1

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

AI-suggested

Users should upgrade to undici versions 6.29.2, 7.30.4, or 8.14.1 or later where the issue is fixed. As a workaround, users can pass the same TLS options as both requestTls and connect parameters or explicitly use Agent or ProxyAgent instead of EnvHttpProxyAgent to ensure consistent TLS option application. No other vendor advisory mitigation notes are provided.

Description

CVE-2026-139849 is a vulnerability in the undici HTTP client for Node.js affecting versions 6.14.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 certificate validation when using EnvHttpProxyAgent, which applies TLS options inconsistently depending on whether a request is direct or proxied. This can cause the TLS connection to the target to bypass custom certificate validation settings, potentially allowing interception by an attacker presenting a publicly trusted certificate. The vulnerability is fixed in versions 6.29.2, 7.30.4, and 8.14.1.

References

Community reviews

Loading reviews…