CVE-2026-58040: HTTPS Agent TLS session reuse skips hostname verification across identity policies (incomplete fix of CVE-2026-48934)

Published Jul 29, 2026
·
Updated

An incomplete fix for CVE-2026-48934 has been identified in Node.js. HTTPS Agent TLS session reuse can skip hostname verification across identity policies.

Other sources

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.

— Node.Js

Affected Software

13 affected componentsFixes available
OpenJS Foundation Node.js>=22.0.0<23.0.0
OpenJS Foundation Node.js>=24.0.0<25.0.0
OpenJS Foundation Node.js>=26.0.0<27.0.0
Microsoft azl3 nodejs 24.17.0-1<24.18.1-1
24.18.1-1
Node.js Node.js>=22.0.0<22.23.2, >=24.0.0<24.18.1, >=26.0.0<26.5.1
22.23.224.18.126.5.1
Node.js Node.js>=22.0.0<22.23.2
22.23.2
Node.js Node.js>=24.0.0<24.18.1
24.18.1
Node.js Node.js>=26.0.0<26.5.1
26.5.1
alpine/nodejs<22.23.2-r0
22.23.2-r0
alpine/nodejs<22.23.2-r0
22.23.2-r0
alpine/nodejs<24.18.1-r0
24.18.1-r0
alpine/nodejs<24.18.1-r0
24.18.1-r0
alpine/nodejs-current<26.5.1-r0
26.5.1-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 24.18.1-1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 22.23.2Fixed in 24.18.1Fixed in 26.5.1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 22.23.2
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 24.18.1
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 26.5.1
  6. Upgrade

    Upgrade alpine/nodejs to a version that resolves this vulnerability.

    Fixed in 22.23.2-r0
  7. Upgrade

    Upgrade alpine/nodejs to a version that resolves this vulnerability.

    Fixed in 24.18.1-r0
  8. Upgrade

    Upgrade alpine/nodejs-current to a version that resolves this vulnerability.

    Fixed in 26.5.1-r0

Event History

Jul 29, 2026
CVE Published
via Node.js·12:00 AM
Data Sourced
via Node.js·12:00 AM
DescriptionSeverityAffected Software
Jul 30, 2026
CVE Published
via MITRE·06:02 AM
Data Sourced
via MITRE·06:02 AM
DescriptionSeverity
Data Sourced
via NVD·06:25 AM
DescriptionSeverityWeakness
Data Sourced
via OSV·06:25 AM
DescriptionSeverityAffected Software
Aug 7, 2026
Data Sourced
via Microsoft·08:04 AM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-58040?

CVE-2026-58040 has a medium severity rating of 6.3.

2

How do I fix CVE-2026-58040?

To fix CVE-2026-58040, upgrade to Node.js versions that are not affected by this vulnerability.

3

Which Node.js versions are impacted by CVE-2026-58040?

CVE-2026-58040 affects Node.js versions 22.x, 24.x, and 26.x.

4

What is the risk level associated with CVE-2026-58040?

CVE-2026-58040 is classified as having a risk level of 37.

5

What type of vulnerability is described in CVE-2026-58040?

CVE-2026-58040 is related to incomplete TLS session reuse and hostname verification issues in HTTPS Agent.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203