{"id":"CVE-2026-70605","title":"Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS","summary":"Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3, when following HTTP redirects, net.fetch() and net.request() did not restrict whi…","severity":"medium","cvss":5.9,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","cwe":["CWE-918"],"vendor":"electron","product":"electron","affected":["electron < 39.8.8","electron >= 40.0.0-alpha.1, < 40.9.0","electron >= 41.0.0-alpha.1, < 41.2.1","electron >= 42.0.0-alpha.1, < 42.0.0-beta.3"],"patched":["electron 39.8.8","electron 40.9.1","electron 41.2.1","electron 42.0.0-beta.3"],"published":"2026-08-05","updated":"2026-09-08","sourceUpdated":"2026-09-08T20:44:08.253","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-70605","references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-v64r-4m7r-3mvq","label":"security-advisories@github.com"},{"url":"https://github.com/advisories/GHSA-v64r-4m7r-3mvq"}],"tags":["nvd","ghsa","npm"],"epss":0.0027,"epssPercentile":0.19369,"aliases":["GHSA-v64r-4m7r-3mvq"],"ecosystem":"npm","ingestedAt":"2026-08-05T16:49:29.253Z","slug":"CVE-2026-70605","body":"## Overview\n\nElectron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3, when following HTTP redirects, net.fetch() and net.request() did not restrict which schemes a redirect could target. A remote server could redirect a request to a local resource, and if the app returns or forwards the response body, local file contents could be disclosed. Apps are only affected if they make net requests to attacker-influenced URLs with redirects followed and expose the response body. This issue is fixed in versions 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-70605)\n\nAffected packages:\n\n- `electron < 39.8.8`\n- `electron >= 40.0.0-alpha.1, < 40.9.0`\n- `electron >= 41.0.0-alpha.1, < 41.2.1`\n- `electron >= 42.0.0-alpha.1, < 42.0.0-beta.3`\n\nPatched in:\n\n- `electron 39.8.8`\n- `electron 40.9.1`\n- `electron 41.2.1`\n- `electron 42.0.0-beta.3`\n\nSource: https://github.com/advisories/GHSA-v64r-4m7r-3mvq","depth":"sunlit","depthScore":33,"depthScoreParts":{"impact":32.5,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}