Improper Certificate Validation in undici - CVE-2026-109383

 

Improper Certificate Validation in undici - CVE-2026-109383

Published: November 3, 2026


Vulnerability identifier: #VU158706
CSH Severity: Medium
CVSS v4: 9.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-109383
CWE-ID: CWE-295
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass custom TLS certificate validation, potentially exposing or modifying sensitive communications.

The vulnerability exists due to improper certificate validation in undici's Agent when a JSON-based deep clone of constructor options silently drops function-valued tls options, including a custom checkServerIdentity callback, before forwarding them to per-origin Pool instances. A remote attacker can present a certificate that passes Node's default hostname and certificate chain checks but would be rejected by the custom callback to impersonate a trusted TLS peer and potentially read or modify application communications.

EnvHttpProxyAgent is also affected on its direct and NO_PROXY routes because these delegate to an internal Agent.


Affected software

undici

How to mitigate CVE-2026-109383

Install security update from vendor's website.

undici - addressed in versions 6.29.1, 7.30.1, 8.12.2

External References

Related Security Bulletins