Improper Certificate Validation Affecting nodejs/node package, versions [22.0.0, 22.23.2)[24.0.0, 24.18.1)[26.0.0, 26.5.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-NODEJSNODE-18506956
  • published2 Aug 2026
  • disclosed30 Jul 2026
  • creditvnyuh

Introduced: 30 Jul 2026

NewCVE-2026-58040  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade nodejs/node to version 22.23.2, 24.18.1, 26.5.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation due to the HTTPS Agent skipping hostname verification across identity policies. An attacker can intercept or manipulate encrypted communications by exploiting TLS session reuse without proper hostname validation.

CVSS Base Scores

version 4.0
version 3.1