Skip to main content
VulnerabilityPublished

CVE-2026-109383: undici vulnerable to TLS certificate validation bypass via dropped tls options in Agent

Affects undiciSource GCVE Database

0

Mentioned vulnerabilities

Not known to be exploited · CVSS 7.4 High : upgrade to 6.29.1 soon.

Data as of 27 Oct 2026, 20:28 UTC

CVSS 3.1 base score
7.4High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 6.29.1, 7.30.1, 8.12.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 27 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: 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 26 Oct 2026.

What to do

Upgrade undici to 6.29.1; undici to 7.30.1; undici to 8.12.2.

Affected software

ProductAffectedFixed in
npmundiciAffected
  • >=4.0.0 <6.29.1
Fixed in
  • 6.29.1
npmundiciAffected
  • >=7.0.0 <7.30.1
Fixed in
  • 7.30.1
npmundiciAffected
  • >=8.0.0 <8.12.2
Fixed in
  • 8.12.2

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

AI-suggested

Upgrade undici to version 6.29.1, 7.30.1, or 8.12.2 or later, where the Agent preserves the tls option outside the JSON clone, ensuring custom TLS verification callbacks are forwarded correctly. As a workaround, pass TLS options through connect instead of tls. For proxied EnvHttpProxyAgent destinations, use requestTls or proxyTls options. No other actions are required if these mitigations are applied.

Description

undici's Agent component improperly handles TLS options by deep cloning constructor options via JSON serialization, which drops function-valued TLS callbacks such as checkServerIdentity. This results in a TLS certificate validation bypass where custom verification logic is ignored, potentially allowing acceptance of TLS peers that should be rejected. The vulnerability affects applications using Agent as the default dispatcher for request, fetch, and setGlobalDispatcher, as well as EnvHttpProxyAgent on certain routes. Fixed in undici versions 6.29.1, 7.30.1, and 8.12.2.

References

Community reviews

Loading reviews…