CVE-2026-58040

nodejs: HTTPS Agent TLS session reuse skips hostname verification

Published Jul 30, 2026 CVSS 3.1 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
An incomplete fix has been identified in Node.js: HTTPS Agent TLS session reuse skips hostname verification across identity policies (incomplete fix of CVE-2026-48934).

This vulnerability affects Node.js **22.x**, **24.x**, and **26.x**.

Analysis

AI-generated

Technical impact

An incomplete fix in Node.js causes the HTTPS Agent to skip hostname verification when TLS sessions are reused across identity policies. This flaw allows an attacker who obtains or replays a TLS session to present a certificate for a different hostname without the agent detecting the mismatch, enabling potential man‑in‑the‑middle or spoofing attacks. The vulnerability could therefore lead to interception or tampering of HTTPS traffic if the attacker controls DNS or the network path.

Affected Systems

The flaw affects the Node.js runtime in versions 22.x, 24.x, and 26.x.

Risk and Exploitability

The CVSS score of 6.3 indicates a medium severity threat. The EPSS score of less than 1% suggests that exploitation is currently considered unlikely, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is inferred to be remote, leveraging standard HTTPS connections in applications that reuse TLS sessions. No additional exploitation prerequisites are documented, so any Node.js application that utilizes the default HTTPS Agent is potentially at risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Node.js to a version where the TLS session reuse and hostname verification issue is fully resolved.
  • If an upgrade is delayed, configure the HTTPS Agent to disable TLS session reuse or to enforce strict hostname checking by customizing the agent options.
  • Review application configuration to ensure that certificates are not accepted across different hostnames or identity policies.

Generated by OpenCVE AI on August 5, 2026 at 14:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4809-1 nodejs security update
History
Type Values Removed Values Added
Title Hostname Verification Skip in Node.js HTTPS Agent with TLS Session Reuse nodejs: HTTPS Agent TLS session reuse skips hostname verification
First Time appeared Redhat
Redhat hummingbird
Weaknesses CWE-322
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat
Redhat hummingbird
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
Title Hostname Verification Skip in Node.js HTTPS Agent with TLS Session Reuse
Type Values Removed Values Added
First Time appeared Nodejs
Nodejs nodejs
Vendors & Products Nodejs
Nodejs nodejs
Type Values Removed Values Added
Weaknesses CWE-297
Metrics ssvc

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

Type Values Removed Values Added
Description An incomplete fix has been identified in Node.js: HTTPS Agent TLS session reuse skips hostname verification across identity policies (incomplete fix of CVE-2026-48934). This vulnerability affects Node.js **22.x**, **24.x**, and **26.x**.
References
Metrics cvssV3_0

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

Weaknesses
  • CWE-297

    Improper Validation of Certificate with Host Mismatch

  • CWE-322

    Key Exchange without Entity Authentication

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Jul 30, 2026, 12:50 PM
Reserved
Jun 27, 2026, 3:00 PM
Status
Awaiting Analysis
Published
Jul 30, 2026, 6:25 AM
Modified
Oct 23, 2026, 10:10 PM
Severity
Moderate
Public date
Jul 30, 2026, 6:02 AM