{"answers":{"affected":"2 open source packages ship an affected version, including node and node-min.","exploited":"There is no known exploitation of CVE-2026-58040 in the wild and no public exploit code.","fix":"Upgrade node to a fixed version for your release line: 22.23.2, 24.18.1 or 26.5.1.","what":"CVE-2026-58040 is a medium-severity vulnerability in nodejs node, published on 30 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-58040 and fix it if it is affected.\n\nWhat it is: CVE-2026-58040 is a medium-severity vulnerability in nodejs node, published on 30 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-58040 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- node (Bitnami): affected all versions; fixed in 22.23.2, 24.18.1, 26.5.1\n- node-min (Bitnami): affected all versions; fixed in 22.23.2, 24.18.1, 26.5.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-58040/ (Markdown: https://insights.sbomify.com/CVE-2026-58040/index.md)","id":"CVE-2026-58040","markdown":"https://insights.sbomify.com/CVE-2026-58040/index.md","name":"CVE-2026-58040","record":{"aliases":["ALPINE-CVE-2026-58040","AZL-94349","BELL-CVE-2026-58040","BIT-node-2026-58040","BIT-node-min-2026-58040","CLEANSTART-2026-DG35822","DEBIAN-CVE-2026-58040","ECHO-b33f-784d-6b12","GHSA-r5cq-rcm7-54x2","MINI-fq24-qfjh-6wv4","MINI-gh8v-r6g9-9r9f","MINI-h4jq-52xg-xg3q","MINI-rx5r-c5fq-2mh4","MINI-vc5x-gj63-6vg9","MINI-whrr-r9wh-c396","MINI-wwv8-54r9-hjcx","MINI-xc6x-w526-xp4q","UBUNTU-CVE-2026-58040"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js runtime","requires_auth":"low_privilege","summary":"Node.js HTTPS Agent fails to verify hostnames during TLS session reuse, allowing attackers to bypass identity verification checks.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"hackerone","cpe":[],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-297","name":"Improper Validation of Certificate with Host Mismatch"}],"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).\r\n\r\nThis vulnerability affects Node.js **22.x**, **24.x**, and **26.x**.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":"2026-10-23","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-10-23T23:44:41Z","kind":"github_poc","ref":"https://github.com/CompleteTech-Security/node-cve-2026-58040-check","stars":0,"title":"Offline Node.js evidence checker for CVE-2026-58040: HTTPS Agent TLS session identity-policy bypass. Single-file Python; JSON/CSV/HTML reports; no exploit payloads."}],"tier":"poc_unverified"},"has_fix":true,"headline":"Security feature bypass in node","id":"CVE-2026-58040","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"Race condition in node","id":"CVE-2026-58041"},"packages":[{"ecosystem":"Bitnami","fixed":["22.23.2","24.18.1","26.5.1"],"introduced":["0","23.0.0","25.0.0"],"last_affected":[],"package":"node","purl":"pkg:bitnami/node","source":"BIT-node-2026-58040"},{"ecosystem":"Bitnami","fixed":["22.23.2","24.18.1","26.5.1"],"introduced":["0","23.0.0","25.0.0"],"last_affected":[],"package":"node-min","purl":"pkg:bitnami/node-min","source":"BIT-node-min-2026-58040"}],"prev":{"headline":"Security feature bypass in node","id":"CVE-2026-58039"},"products":["node"],"published":"2026-07-30","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-30","vendors":["nodejs"]},"summary":"Node.js HTTPS Agent fails to verify hostnames during TLS session reuse, allowing attackers to bypass identity verification checks.","url":"https://insights.sbomify.com/CVE-2026-58040/"}