Improper Handling of Case Sensitivity Affecting nodejs/node package, versions [22.0.0, 22.23.0)[23.0.0, 24.17.0)[25.0.0, 26.3.1)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (13th 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-17675087
  • published29 Jun 2026
  • disclosed26 Jun 2026
  • credittmeletlidis

Introduced: 26 Jun 2026

CVE-2026-48928  (opens in a new tab)
CWE-178  (opens in a new tab)

How to fix?

Upgrade nodejs/node to version 22.23.0, 24.17.0, 26.3.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity in the Server.prototype.addContext method of lib/internal/tls/wrap.js, which builds the server name matching regular expression without the case-insensitive flag. An attacker can evade the TLS context bound to a specific hostname, and the client certificate policy attached to it, by sending an uppercase or mixed-case SNI hostname in the ClientHello, which fails to match the configured context and falls back to the server's default context. Exploitation affects servers with multi-context SNI configurations where the default context enforces a weaker client authentication policy than the host-specific context it should have matched.

CVSS Base Scores

version 4.0
version 3.1