Improper Certificate Validation in Node.js - CVE-2026-58040

 

Improper Certificate Validation in Node.js - CVE-2026-58040

Published: July 29, 2026 / Updated: July 29, 2026


Vulnerability identifier: #VU140042
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-58040
CWE-ID: CWE-295
Exploitation vector: Remote access
Exploit availability: No public exploit available
Affected software:
Node.js

Detailed vulnerability description

The vulnerability allows a remote attacker to bypass hostname verification.

The vulnerability exists due to improper certificate validation in the Node.js HTTPS Agent when reusing TLS sessions across identity policies. A remote attacker can trigger TLS session reuse to bypass hostname verification.

This issue was identified as an incomplete fix for CVE-2026-48934.


How to mitigate CVE-2026-58040

Install security update from vendor's website.

Sources