Disclosure summary
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.
Source-reported weakness categories
CWE-295
Source-specific records & product guidance
Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.
GitHub reviewed advisories · GHSA-2m5v-pch6-74hx
Open original source · Updated Oct 27, 2026
undici vulnerable to TLS certificate validation bypass via dropped tls options in Agent
GitHub reviewed package advisory. Version ranges and patches are independently attributed; executable descriptions and source code locations are excluded.
Source severity: HIGH
| Vendor | Product / association | Version / bounds |
|---|---|---|
| npm | undici | >= 4.0.0, < 6.29.1 |
| npm | undici | >= 7.0.0, < 7.30.1 |
| npm | undici | >= 8.0.0, < 8.12.2 |
NIST NVD · nvd:CVE-2026-109383
Open original source · Updated Oct 16, 2026
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.
Source severity: HIGH / 7.4
Indexed product associations
These cached associations support search and triage. Confirm applicability, platform conditions, and fixed versions in the original record.
| Vendor | Product | Version | Source / relationship |
|---|---|---|---|
| npm | undici | >= 4.0.0, < 6.29.1 | GHSA-2m5v-pch6-74hx / vendor-listed |
| npm | undici | >= 7.0.0, < 7.30.1 | GHSA-2m5v-pch6-74hx / vendor-listed |
| npm | undici | >= 8.0.0, < 8.12.2 | GHSA-2m5v-pch6-74hx / vendor-listed |
Original records & references
- NIST NVD record
- CVE Program record
- ce714d77-add3-4f53-aff5-83d477b104bb
- ce714d77-add3-4f53-aff5-83d477b104bb
Repositories cited by this CVE
The saved CVE record references these repositories. A citation can identify affected software, a fix, or related research; it does not verify exploit code. These citations are separate from automated search matches and local association reviews.
- nodejs/undici CVE record citation
GitHub repository matches
Repository matches are links and GitHub-supplied metadata only. They are not verified working proof-of-concept code. Each supported query is bounded to ten pages and at most 1,000 indexed results. This is not a complete index of GitHub or public exploit research. Coverage can also be limited by provider availability, rate limits, rejected metadata, incomplete search results, manual review, and the recorded refresh time.
No stored repository matches
Repository discovery has not recorded an update for this CVE yet.
Discovery progress
0 of 3 discovery queries finished. GitHub returned 0 indexed results; 0 malformed or disallowed results were rejected.
No discovery update has been recorded for this CVE.
View all 0 stored repository matches
PUBLISHED 2026-10-15T19:17:20+00:00
MODIFIED 2026-10-16T21:17:23+00:00
INGESTED 2026-10-17T18:46:02+00:00