Skip to main content
Mallory
MediumVulnerability

CVE-2026-58040: TLS Hostname Verification Bypass in Node.js HTTPS Agent Session Reuse

Published Jul 30, 2026 · Updated 1 day ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days12 mentions · peak 2 in a dayToday
CVSS6.3Medium · v3
EPSS0.30%15th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
IdentifiersCVE-2026-58040CWE-297 · Improper Validation of Certificate…

CVE-2026-58040 is a hostname-verification bypass in Node.js HTTPS Agent TLS session reuse, resulting from an incomplete fix for CVE-2026-48934. Reusing a TLS session across different identity policies can skip hostname verification, allowing a connection to be accepted without enforcing the applicable peer-identity checks. The vulnerability affects Node.js 22.x, 24.x, and 26.x release lines and can expose confidential information.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can bypass TLS hostname verification and compromise the confidentiality of information exchanged over an affected HTTPS connection. SUSE rates the vulnerability Moderate, with CVSS v3.1 6.3 (AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N), indicating high attack complexity, low required privileges, no user interaction, and high confidentiality impact. Integrity and availability impacts are not established.

Mitigation

If you can’t patch tonight, do this now.

Until patched, minimize HTTPS/TLS session reuse across distinct hostname or identity-policy contexts. Restrict untrusted network paths to HTTPS endpoints and apply network segmentation and egress controls to reduce opportunities for on-path interference. No specific vendor workaround is identified.

Remediation

Patch, then assume compromise.

Upgrade to Node.js 22.23.2, 24.18.1, or 26.5.1 or a later fixed release in the corresponding release line. For distribution-managed installations, install the applicable vendor security update, including associated runtime packages. Distribution fixes include Debian 12 package version 18.20.4+dfsg-1~deb12u3 under DLA-4809-1 and RHEL 10 nodejs26 version 26.12.1-3.el10_3 under RHSA-2026:98619.

Public exploits

Exploits

No validated public exploits yet. Hidden: 3 rejected by Mallory's analysis as not a working exploit.

View more in app →
Every candidate exploit was rejected by Mallory's analysis.
FAQ

Frequently asked questions

Is CVE-2026-58040 exploited in the wild?
As of Nov 27, 2026, Mallory has no reports of CVE-2026-58040 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-58040?
As of Nov 27, 2026, Mallory has found no public exploit for CVE-2026-58040.
Is there a patch for CVE-2026-58040?
Upgrade to Node.js 22.23.2, 24.18.1, or 26.5.1 or a later fixed release in the corresponding release line. For distribution-managed installations, install the applicable vendor security update, including associated runtime packages.
How severe is CVE-2026-58040?
CVE-2026-58040 has a CVSS v3 score of 6.3 (Medium) and an EPSS score of 0.30% (15th percentile) as of Nov 27, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.