CVE-2026-109383
undici: undici: Certificate validation bypass via dropped TLS options in Agent
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), Amazon (high).
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| amazon linux 2023 | nodejs22, nodejs22-debuginfo, nodejs22-debugsource and 17 more | 1:22.23.4-1.amzn2023.0.1 and 5 more |
| chainguard | node-gyp | 13.1.0-r1 |
| debian 12 | node-undici | no fix listed |
| debian 13 | node-undici | no fix listed |
| debian 14 | node-undici | no fix listed |
| echo | node-undici | no fix listed |
| rapidfort alma 10 | nodejs, nodejs-devel, nodejs-docs and 9 more | no fix listed |
| rapidfort amazon linux 2023 | nodejs, nodejs20, nodejs22 and 11 more | 1:22.23.4-1.amzn2023.0.1 and 3 more |
| rapidfort debian 12 | node-undici | 0:8.12.2+dfsg+~cs3.2.3-1 |
| rapidfort debian 13 | node-undici | 0:8.12.2+dfsg+~cs3.2.3-1 |
| rapidfort Oracle Linux 10 | nodejs, nodejs-devel, nodejs-docs and 9 more | no fix listed |
| rapidfort Red Hat 10 | nodejs, nodejs-devel, nodejs-docs and 9 more | no fix listed |
Show all 109 entries from 15 sources
| Source | Package | Fixed in |
|---|---|---|
| amazon linux 2023 | nodejs22 | 1:22.23.4-1.amzn2023.0.1 |
| amazon linux 2023 | nodejs22-debuginfo | 1:22.23.4-1.amzn2023.0.1 |
| amazon linux 2023 | nodejs22-debugsource | 1:22.23.4-1.amzn2023.0.1 |
| amazon linux 2023 | nodejs22-devel | 1:22.23.4-1.amzn2023.0.1 |
| amazon linux 2023 | nodejs22-docs | 1:22.23.4-1.amzn2023.0.1 |
| amazon linux 2023 | nodejs22-full-i18n | 1:22.23.4-1.amzn2023.0.1 |
| amazon linux 2023 | nodejs22-libs | 1:22.23.4-1.amzn2023.0.1 |
| amazon linux 2023 | nodejs22-libs-debuginfo | 1:22.23.4-1.amzn2023.0.1 |
| amazon linux 2023 | nodejs22-npm | 1:10.9.9-1.22.23.4.1.amzn2023.0.1 |
| amazon linux 2023 | nodejs24 | 1:24.22.1-1.amzn2023.0.1 |
| amazon linux 2023 | nodejs24-debuginfo | 1:24.22.1-1.amzn2023.0.1 |
| amazon linux 2023 | nodejs24-debugsource | 1:24.22.1-1.amzn2023.0.1 |
| amazon linux 2023 | nodejs24-devel | 1:24.22.1-1.amzn2023.0.1 |
| amazon linux 2023 | nodejs24-docs | 1:24.22.1-1.amzn2023.0.1 |
| amazon linux 2023 | nodejs24-full-i18n | 1:24.22.1-1.amzn2023.0.1 |
| amazon linux 2023 | nodejs24-libs | 1:24.22.1-1.amzn2023.0.1 |
| amazon linux 2023 | nodejs24-libs-debuginfo | 1:24.22.1-1.amzn2023.0.1 |
| amazon linux 2023 | nodejs24-npm | 1:11.19.1-1.24.22.1.1.amzn2023.0.1 |
| amazon linux 2023 | v8-12.4-devel | 3:12.4.254.21-1.22.23.4.1.amzn2023.0.1 |
| amazon linux 2023 | v8-13.6-devel | 3:13.6.233.17-1.24.22.1.1.amzn2023.0.1 |
| chainguard | node-gyp | 13.1.0-r1 |
| debian 12 | node-undici | no fix listed |
| debian 13 | node-undici | no fix listed |
| debian 14 | node-undici | no fix listed |
| echo | node-undici | no fix listed |
| rapidfort alma 10 | nodejs | no fix listed |
| rapidfort alma 10 | nodejs-devel | no fix listed |
| rapidfort alma 10 | nodejs-docs | no fix listed |
| rapidfort alma 10 | nodejs-full-i18n | no fix listed |
| rapidfort alma 10 | nodejs-libs | no fix listed |
| rapidfort alma 10 | nodejs-npm | no fix listed |
| rapidfort alma 10 | nodejs24 | no fix listed |
| rapidfort alma 10 | nodejs24-devel | no fix listed |
| rapidfort alma 10 | nodejs24-docs | no fix listed |
| rapidfort alma 10 | nodejs24-full-i18n | no fix listed |
| rapidfort alma 10 | nodejs24-libs | no fix listed |
| rapidfort alma 10 | nodejs24-npm | no fix listed |
| rapidfort amazon linux 2023 | nodejs | no fix listed |
| rapidfort amazon linux 2023 | nodejs20 | no fix listed |
| rapidfort amazon linux 2023 | nodejs22 | 1:22.23.4-1.amzn2023.0.1 |
| rapidfort amazon linux 2023 | nodejs22-devel | 1:22.23.4-1.amzn2023.0.1 |
| rapidfort amazon linux 2023 | nodejs22-docs | 1:22.23.4-1.amzn2023.0.1 |
| rapidfort amazon linux 2023 | nodejs22-full-i18n | 1:22.23.4-1.amzn2023.0.1 |
| rapidfort amazon linux 2023 | nodejs22-libs | 1:22.23.4-1.amzn2023.0.1 |
| rapidfort amazon linux 2023 | nodejs22-npm | 1:10.9.9-1.22.23.4.1.amzn2023.0.1 |
| rapidfort amazon linux 2023 | nodejs24 | 1:24.22.1-1.amzn2023.0.1 |
| rapidfort amazon linux 2023 | nodejs24-devel | 1:24.22.1-1.amzn2023.0.1 |
| rapidfort amazon linux 2023 | nodejs24-docs | 1:24.22.1-1.amzn2023.0.1 |
| rapidfort amazon linux 2023 | nodejs24-full-i18n | 1:24.22.1-1.amzn2023.0.1 |
| rapidfort amazon linux 2023 | nodejs24-libs | 1:24.22.1-1.amzn2023.0.1 |
| rapidfort amazon linux 2023 | nodejs24-npm | 1:11.19.1-1.24.22.1.1.amzn2023.0.1 |
| rapidfort debian 12 | node-undici | 0:8.12.2+dfsg+~cs3.2.3-1 |
| rapidfort debian 13 | node-undici | 0:8.12.2+dfsg+~cs3.2.3-1 |
| rapidfort Oracle Linux 10 | nodejs | no fix listed |
| rapidfort Oracle Linux 10 | nodejs-devel | no fix listed |
| rapidfort Oracle Linux 10 | nodejs-docs | no fix listed |
| rapidfort Oracle Linux 10 | nodejs-full-i18n | no fix listed |
| rapidfort Oracle Linux 10 | nodejs-libs | no fix listed |
| rapidfort Oracle Linux 10 | nodejs-npm | no fix listed |
| rapidfort Oracle Linux 10 | nodejs24 | no fix listed |
| rapidfort Oracle Linux 10 | nodejs24-devel | no fix listed |
| rapidfort Oracle Linux 10 | nodejs24-docs | no fix listed |
| rapidfort Oracle Linux 10 | nodejs24-full-i18n | no fix listed |
| rapidfort Oracle Linux 10 | nodejs24-libs | no fix listed |
| rapidfort Oracle Linux 10 | nodejs24-npm | no fix listed |
| rapidfort Red Hat 10 | nodejs | no fix listed |
| rapidfort Red Hat 10 | nodejs-devel | no fix listed |
| rapidfort Red Hat 10 | nodejs-docs | no fix listed |
| rapidfort Red Hat 10 | nodejs-full-i18n | no fix listed |
| rapidfort Red Hat 10 | nodejs-libs | no fix listed |
| rapidfort Red Hat 10 | nodejs-npm | no fix listed |
| rapidfort Red Hat 10 | nodejs24 | no fix listed |
| rapidfort Red Hat 10 | nodejs24-devel | no fix listed |
| rapidfort Red Hat 10 | nodejs24-docs | no fix listed |
| rapidfort Red Hat 10 | nodejs24-full-i18n | no fix listed |
| rapidfort Red Hat 10 | nodejs24-libs | no fix listed |
| rapidfort Red Hat 10 | nodejs24-npm | no fix listed |
| Red Hat | nodejs:22::nodejs | no fix listed |
| Red Hat | nodejs:22::nodejs-devel | no fix listed |
| Red Hat | nodejs:22::nodejs-docs | no fix listed |
| Red Hat | nodejs:22::nodejs-full-i18n | no fix listed |
| Red Hat | nodejs:22::nodejs-libs | no fix listed |
| Red Hat | nodejs:22::nodejs-nodemon | no fix listed |
| Red Hat | nodejs:22::nodejs-packaging | no fix listed |
| Red Hat | nodejs:22::nodejs-packaging-bundler | no fix listed |
| Red Hat | nodejs:22::npm | no fix listed |
| Red Hat | nodejs:22::v8-12.4-devel | no fix listed |
| Red Hat | nodejs:22::v8-13.6-devel | no fix listed |
| Red Hat | nodejs:24::nodejs | no fix listed |
| Red Hat | nodejs:24::nodejs-devel | no fix listed |
| Red Hat | nodejs:24::nodejs-docs | no fix listed |
| Red Hat | nodejs:24::nodejs-full-i18n | no fix listed |
| Red Hat | nodejs:24::nodejs-libs | no fix listed |
| Red Hat | nodejs:24::nodejs-nodemon | no fix listed |
| Red Hat | nodejs:24::nodejs-packaging | no fix listed |
| Red Hat | nodejs:24::nodejs-packaging-bundler | no fix listed |
| Red Hat | nodejs:24::npm | no fix listed |
| Red Hat | nodejs:24::v8-12.4-devel | no fix listed |
| Red Hat | nodejs:24::v8-13.6-devel | no fix listed |
| Red Hat | nodejs:26::nodejs | no fix listed |
| Red Hat | nodejs:26::nodejs-docs | no fix listed |
| Red Hat | nodejs:26::nodejs-full-i18n | no fix listed |
| Red Hat | nodejs:26::nodejs-libs | no fix listed |
| Red Hat | nodejs:26::npm | no fix listed |
| Red Hat | openshift4/ose-monitoring-plugin-rhel9 | no fix listed |
| Red Hat | wasmedge | no fix listed |
| seal npm::Seal Security Database | @seal-security/undici | 4.16.0-sp999, 6.21.1-sp999, 6.21.2-sp999, 6.21.3-sp999, 6.23.0-sp999, 6.25.0-sp999, 6.27.0-sp999, 6.28.0-sp999, 7.18.2-sp999, 7.19.2-sp999, 7.22.0-sp999, 7.28.0-sp999, 7.29.0-sp999 |
| seal npm::Seal Security Database | undici | 4.16.0-sp999, 6.21.1-sp999, 6.21.2-sp999, 6.21.3-sp999, 6.23.0-sp999, 6.25.0-sp999, 6.27.0-sp999, 6.28.0-sp999, 7.18.2-sp999, 7.19.2-sp999, 7.22.0-sp999, 7.28.0-sp999, 7.29.0-sp999 |
| wolfi | node-gyp | 13.1.0-r1 |
References
- https://access.redhat.com/security/cve/CVE-2026-109383
- https://cna.openjsf.org/security-advisories.html
- https://github.com/nodejs/undici/commit/f75eac00ac17
- https://github.com/nodejs/undici/security/advisories/GHSA-2m5v-pch6-74hx
- https://nvd.nist.gov/vuln/detail/CVE-2026-109383
- https://www.cve.org/CVERecord?id=CVE-2026-109383