CVE-2026-109383
undici: undici: Certificate validation bypass via dropped TLS options in Agent
Overview
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.
Source: OX vulnerability database
Severity
9.1 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness: CWE-295
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | undici | >=4.0.0, <6.29.1>=7.0.0, <7.30.1>=8.0.0, <8.12.2 | 6.29.17.30.18.12.2 |
| Seal npm | @seal-security/undici | >=4.16.0-sp1, <4.16.0-sp999>=6.21.1-sp1, <6.21.1-sp999>=6.21.2-sp1p1, <6.21.2-sp999>=6.21.3-sp1p1, <6.21.3-sp999>=6.23.0-sp1, <6.23.0-sp2+8 more | 4.16.0-sp9996.21.1-sp9996.21.2-sp9996.21.3-sp9996.23.0-sp2 |
| Seal npm | undici | >=4.16.0-sp0, <4.16.0-sp999>=6.21.1-sp0, <6.21.1-sp999>=6.21.2-sp0, <6.21.2-sp999>=6.21.3-sp0, <6.21.3-sp999>=6.23.0-sp0, <6.23.0-sp2+8 more | 4.16.0-sp9996.21.1-sp9996.21.2-sp9996.21.3-sp9996.23.0-sp2 |
Open a package to see all its vulnerabilities.
Operating systems · 108 fixes
Oracle Linux 1 release · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| 9 | npm | 1:11.19.0-1.24.21.0.1.0.1.module+el9.8.0+91109+154e6434 |
| 9 | nodejs +4 | 1:24.21.0-1.0.1.module+el9.8.0+91109+154e6434 |
| 9 | nodejs-packaging +1 | 2021.06-6.module+el9.8.0+91010+e0f4f255 |
| 9 | nodejs-nodemon | 3.1.14-6.module+el9.8.0+91109+154e6434 |
| 9 | v8-12-4-devel | 3:12.4.254.21-1.22.23.2.2.0.1.module+el9.8.0+91110+558b6b61 |
| 9 | v8-13-6-devel | 3:13.6.233.17-1.24.21.0.1.0.1.module+el9.8.0+91109+154e6434 |
Red Hat 8 releases · 8 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | openshift4-ose-monitoring-plugin-rhel9 | affected | — |
| 8 | openshift4-ose-monitoring-plugin-rhel9 +3 | affected | — |
| 8 (nodejs:22) | nodejs-packaging +1 | 0:2021.06-6.module+el8.10.0+24710+c2e9b41f | RHSA-2026:98113 |
| 8 (nodejs:22) | nodejs-nodemon | 0:3.1.14-3.module+el8.10.0+25285+c731a801 | RHSA-2026:98113 |
| 8 (nodejs:22) | npm | 1:10.9.9-1.22.23.4.2.module+el8.10.0+25285+c731a801 | RHSA-2026:98113 |
| 8 (nodejs:22) | nodejs +4 | 1:22.23.4-2.module+el8.10.0+25285+c731a801 | RHSA-2026:98113 |
22 more rows
alma 6 releases · 9 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | nodejs-docs | 1:22.23.4-1.el10_2 |
| 10 | nodejs24-docs | 1:24.22.1-3.el10_2 |
| 10 | nodejs24-npm | 2:11.19.1-1.24.22.1.3.el10_2 |
| 8 (nodejs:22) | npm | 1:10.9.9-1.22.23.4.2.module_el8.10.0+4358+709b81be |
| 8 (nodejs:22) | nodejs +4 | 1:22.23.4-2.module_el8.10.0+4358+709b81be |
| 8 (nodejs:22) | nodejs-packaging +1 | 2021.06-6.module_el8.10.0+4158+e796f37f |
14 more rows
amazon linux 1 release · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | nodejs22-npm | 1:10.9.9-1.22.23.4.1.amzn2023.0.1 |
| 2023 | nodejs24-npm | 1:11.19.1-1.24.22.1.1.amzn2023.0.1 |
| 2023 | nodejs22 +7 | 1:22.23.4-1.amzn2023.0.1 |
| 2023 | nodejs24 +7 | 1:24.22.1-1.amzn2023.0.1 |
| 2023 | v8-12-4-devel | 3:12.4.254.21-1.22.23.4.1.amzn2023.0.1 |
| 2023 | v8-13-6-devel | 3:13.6.233.17-1.24.22.1.1.amzn2023.0.1 |
chainguard 1 release · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| supabase-storage-api | 1.84.23-r1 | |
| node-gyp | 13.1.0-r1 | |
| graalvm-25-2 | 25.2.4-r6 | |
| renovate | 44.198.3-r1 | |
| kibana-9-2 | 9.2.8-r30 | |
| kibana-9-3 | 9.3.8-r9 |
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | node-undici | affected |
| 13 | node-undici | affected |
| 14 | node-undici | 8.12.2+dfsg+~cs3.2.3-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| node-undici | affected |
rocky 3 releases · 12 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | nodejs-npm | 1:10.9.9-1.22.23.4.1.el10_2 |
| 10 | nodejs26-npm | 1:11.20.0-1.26.12.1.3.el10_3 |
| 10 | nodejs +4 | 1:22.23.4-1.el10_2 |
| 10 | nodejs24 +4 | 1:24.22.1-3.el10_2 |
| 10 | nodejs26 +4 | 1:26.12.1-3.el10_3 |
| 10 | nodejs24-npm | 2:11.19.1-1.24.22.1.3.el10_2 |
30 more rows
wolfi 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| node-gyp | 13.1.0-r1 | |
| renovate | 44.198.3-r1 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:96234
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-109383
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2542700
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2542707
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2553656
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2553677
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2553678
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2559873
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2559875
- cna.openjsf.org https://cna.openjsf.org/security-advisories.html
Show all 32 references
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-102276
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-102278
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-105482
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-106069
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-109383
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-109869
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-87018
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:96234
- github.com https://github.com/nodejs/undici
- github.com https://github.com/nodejs/undici/commit/04cb74b1db131ff8f5b4557dce811cbf5f4664b4
- github.com https://github.com/nodejs/undici/commit/8c59f6b302898cb2e9b0f7962cd7212b6e597c9f
- github.com https://github.com/nodejs/undici/commit/f75eac00ac17
- github.com https://github.com/nodejs/undici/commit/f75eac00ac177f7b2e6c8bfbd52d4113164286e6
- github.com https://github.com/nodejs/undici/releases/tag/v6.29.1
- github.com https://github.com/nodejs/undici/releases/tag/v7.30.1
- github.com https://github.com/nodejs/undici/releases/tag/v8.12.2
- github.com https://github.com/nodejs/undici/security/advisories/GHSA-2m5v-pch6-74hx
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-109383.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-96226.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-109383
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-109383
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.