CVE-2026-70605: Electron: HTTP redirect followed into local file loader
Vulnerability summary
CVE-2026-70605 is a medium (CVSS 5.9) Server-Side Request Forgery vulnerability in electron. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 20.4% of scored vulnerabilities.
Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 05-08-2026PublishedVulnerability first disclosed.
- 06-08-2026Last modifiedVulnerability information updated.
Description
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 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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · NpmEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
20%
Versus all other CVEs
30-day change
Decrease -0.04 pp
From 0.32% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Electron1 product
- electron< 39.8.8 | ≥ 40.0.0-alpha.1, < 40.9.0 | ≥ 41.0.0-alpha.1, < 41.2.1 | ≥ 42.0.0-alpha.1, < 42.0.0-beta.3
Electronjs1 product
- electronEOL< 39.8.8 | ≥ 40.0.0, < 40.9.0 | ≥ 41.0.0, < 41.2.1 | 42.0.0:alpha1 | 42.0.0:alpha2 | 42.0.0:alpha3 | 42.0.0:alpha4 | 42.0.0:alpha5 | 42.0.0:alpha6 | 42.0.0:beta1 | 42.0.0:beta2
Npm1 product
- electron< 39.8.8 | ≥ 40.0.0-alpha.1, < 40.9.1 | ≥ 41.0.0-alpha.1, < 41.2.1 | ≥ 42.0.0-alpha.1, < 42.0.0-beta.3
3 vendors · 3 products
References
2 links- github.com/electron/electron/security/advisories/GHSA-v64r-4m7r-3mvqX Refsource CONFIRMWEBVendor Advisory
- github.com/electron/electronPACKAGE