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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"electronjs:electron": [
"< 39.8.8",
"= 42.0.0-alpha1+node.js",
"= 42.0.0-alpha2+node.js",
"= 42.0.0-alpha3+node.js",
"= 42.0.0-alpha4+node.js",
"= 42.0.0-alpha5+node.js",
"= 42.0.0-alpha6+node.js",
"= 42.0.0-beta1+node.js",
"= 42.0.0-beta2+node.js",
">= 40.0.0, < 40.9.0",
">= 41.0.0, < 41.2.1"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-70605",
"id": "CVE-2026-70605",
"imported": "2026-11-21T06:56:03.684Z",
"modified": "2026-10-08T13:53:48.053Z",
"published": "2026-08-05T16:17:04.800Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-70605"
},
{
"affected": {
"electronjs: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"
]
},
"fields": [
"affected"
],
"html_url": "https://github.com/electron/electron/security/advisories/GHSA-v64r-4m7r-3mvq",
"id": "GHSA-v64r-4m7r-3mvq",
"imported": "2026-11-21T06:56:03.684Z",
"modified": "2026-08-05T16:01:42Z",
"published": "2026-07-27T23:49:57Z",
"url": "https://api.github.com/repos/electron/electron/security-advisories/GHSA-v64r-4m7r-3mvq"
}
]
}