CVE-2026-109383
undici vulnerable to TLS certificate validation bypass via dropped tls options in Agent
Also known as GHSA-2m5v-pch6-74hx
Mitigation
- Upgrade undici to one of 6.29.1, 7.30.1, 8.12.2 (or later in the same release line).
Who should check
- Projects that depend on npm package undici (>= 4.0.0, < 6.29.1)
- Anyone running undici >= 4.0.0, < 6.29.1; >= 7.0.0, < 7.30.1; >= 8.0.0, < 8.12.2
Vulnerability facts
- Affected
- undici >= 4.0.0, < 6.29.1
- Fixed in
- 6.29.1, 7.30.1, 8.12.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.25% chance of exploitation in 30 days (percentile 10, 2026-11-26)
- CWE
- CWE-295
- Modified
Description
undici is an HTTP client library for Node.js. In versions 4.0.0 through 6.29.0, 7.0.0 through 7.30.0, and 8.0.0 through 8.12.1, its Agent dispatcher passes its constructor options through a JSON-based deep clone before forwarding them to each per-origin pool, and because JSON cannot represent functions, a caller-supplied tls option containing a checkServerIdentity callback is silently dropped before it reaches the TLS layer. As a result, a TLS peer whose certificate a custom checkServerIdentity was written to reject, but which passes Node's default hostname and chain checks, is silently accepted. Because Agent is the default dispatcher behind request, fetch, and setGlobalDispatcher, this affects the path most applications use, and EnvHttpProxyAgent is affected on its direct and no-proxy routes as well, while only applications that pass a function-valued tls option such as a custom checkServerIdentity for certificate or public-key pinning are at risk. The issue is fixed in undici 6.29.1, 7.30.1, and 8.12.2, which preserve the tls option outside the JSON clone so custom verification callbacks are forwarded unchanged, and users should upgrade to one of those versions or later. As a workaround, pass the TLS options through connect instead of tls, or for proxied destinations use requestTls and proxyTls.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-109383. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-109383.md Affected: undici >= 4.0.0, < 6.29.1 Fixed in: 6.29.1, 7.30.1, 8.12.2 Steps: 1. Search this machine and project for undici (npm), undici: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2026-109383 being exploited?
There is no confirmed exploitation: CVE-2026-109383 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-109383?
High: CVSS 7.4 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-109383?
undici >= 4.0.0, < 6.29.1.
Is there a fix for CVE-2026-109383?
Yes. Fixed in 6.29.1, 7.30.1, 8.12.2. Upgrade undici to one of 6.29.1, 7.30.1, 8.12.2 (or later in the same release line).
How do I check if I'm affected by CVE-2026-109383?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.