CVE-2026-48930

nodejs: Node.js: Silent authority rebinding due to embedded-nul hostnames in TLS handling

Published Jun 26, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
A flaw in Node.js TLS hostname handling can cause Embedded-nul hostnames can lead to silent authority rebinding due to c-string truncation in resolver bindings.

This vulnerability affects all supported release lines: **Node.js 22**, **Node.js 24**, and **Node.js 26**.

Analysis

AI-generated

Technical impact

A flaw in Node.js TLS hostname handling permits the insertion of embedded NUL characters in hostnames, which causes C‑string truncation in resolver bindings. This silent authority rebinding bypasses normal hostname verification, enabling an attacker to impersonate the intended server during TLS connections. The weakness corresponds to CWE‑284 and CWE‑170, indicating insecure permission handling and improper handling of null characters during hostname processing.

Affected Systems

Node.js versions 22, 24, and 26 are all affected. The defect resides in the core TLS implementation bundled with Node.js and may impact any application that creates HTTPS/TLS client connections with hostname validation enabled.

Risk and Exploitability

The CVSS score of 9.8 indicates critical severity. The EPSS score is < 1%, and the vulnerability is not listed in the CISA KEV catalog, which suggests no publicly known exploitation. Based on the description, the likely attack vector is network‑based, where a malicious server sends a TLS request that includes an embedded NUL. If the victim application accepts the truncated hostname, the attacker could hijack the TLS session endpoint without detection.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Node.js to the latest patched release on the 22, 24, or 26 line that resolves the TLS hostname truncation flaw.
  • Validate any hostname inputs passed to Node's TLS client functions, ensuring NUL characters are removed before connection establishment to address the CWE‑284 and CWE‑170 weaknesses.
  • Enforce strict hostname verification in the TLS client by setting rejectUnauthorized to true and validating the exact server hostname against the certificate.

Generated by OpenCVE AI on August 12, 2026 at 05:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4809-1 nodejs security update
Debian DSA Debian DSA DSA-6517-1 nodejs security update
History
Type Values Removed Values Added
Title Node.js TLS Hostname Flaw Enables Authority Rebinding via Embedded NUL nodejs: Node.js: Silent authority rebinding due to embedded-nul hostnames in TLS handling
Weaknesses CWE-170
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'}

threat_severity

Moderate

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Nodejs
Nodejs nodejs
Vendors & Products Nodejs
Nodejs nodejs
Type Values Removed Values Added
Title Node.js TLS Hostname Flaw Enables Authority Rebinding via Embedded NUL
Type Values Removed Values Added
Description A flaw in Node.js TLS hostname handling can cause Embedded-nul hostnames can lead to silent authority rebinding due to c-string truncation in resolver bindings. This vulnerability affects all supported release lines: **Node.js 22**, **Node.js 24**, and **Node.js 26**.
Weaknesses CWE-284
References
Metrics cvssV3_0

{'score': 5.6, 'vector': 'CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Jun 26, 2026, 1:37 PM
Reserved
May 26, 2026, 3:00 PM
Status
Analyzed
Published
Jun 26, 2026, 2:16 AM
Modified
Oct 25, 2026, 10:10 PM
Severity
Moderate
Public date
Jun 26, 2026, 1:14 AM