Skip to main content

Electron CVE-2026-70605

| EUVDEUVD-2026-53442 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-08-05 GitHub_M GHSA-v64r-4m7r-3mvq
5.9
CVSS 3.1 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI
5.9 MEDIUM

AC:H reflects the three-condition prerequisite; PR:N because no attacker-side privileges are needed; C:H for local file disclosure; no integrity or availability impact applies.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

4
Patch available
Aug 05, 2026 - 17:02 EUVD
Source Code Evidence Fetched
Aug 05, 2026 - 16:41 vuln.today
Analysis Generated
Aug 05, 2026 - 16:41 vuln.today
CVE Published
Aug 05, 2026 - 16:04 cve.org
MEDIUM 5.9

DescriptionCVE.org

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.

AnalysisAI

Unrestricted HTTP redirect scheme following in Electron's net module (versions prior to 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3) enables server-side request forgery leading to local file disclosure. When net.fetch() or net.request() follows a redirect issued by an attacker-controlled server targeting a local scheme such as file://, the Electron app can be made to read and expose local filesystem contents if it forwards or returns the response body. No public exploit is identified at time of analysis; however, the vulnerability class (SSRF via redirect scheme bypass, CWE-918) is well understood, and the default redirect-following behavior increases the practical surface area across affected apps.

Technical ContextAI

Electron is a cross-platform desktop application framework built on Chromium and Node.js, distributed via npm (CPE: cpe:2.3:a:electron:electron:*:*:*:*:*:*:*:*). Its net module exposes net.fetch() and net.request() as higher-level networking APIs. The root cause (CWE-918: Server-Side Request Forgery) is the absence of scheme allowlisting in the HTTP redirect chain processor: when a server responds with a 3xx redirect, Electron's net module faithfully follows it regardless of the target scheme, permitting transitions from http/https to file:// or other local-resource schemes. Since redirect following is the default mode, any Electron application making outbound requests to attacker-influenced endpoints is structurally exposed without developer action to opt out. The fix, published in the GitHub advisory GHSA-v64r-4m7r-3mvq, addresses this by enforcing scheme restrictions on redirect targets.

RemediationAI

Upgrade Electron to a patched release: 39.8.8 for the 39.x branch, 40.9.1 for the 40.x branch (note the minor discrepancy between the CVE description citing 40.9.0 and the npm advisory citing 40.9.1 - use 40.9.1 to be safe), 41.2.1 for the 41.x branch, or 42.0.0-beta.3 for the 42.x pre-release branch. Full patch details are at https://github.com/electron/electron/security/advisories/GHSA-v64r-4m7r-3mvq. If an immediate upgrade is not possible, the Electron advisory explicitly recommends setting redirect: 'error' or redirect: 'manual' on all net.fetch() and net.request() calls that target untrusted or attacker-influenced URLs, and manually validating any redirect target URL before following it. The trade-off of this workaround is that it requires application-level code changes across all relevant call sites, may break features that rely on transparent redirect following, and is only as robust as the validation logic applied - incomplete URL validation could leave residual risk. Applications that exclusively request hardcoded, trusted URLs are not affected and require no remediation.

CVE-2018-1000006 HIGH POC
8.8 Jan 24

GitHub Electron versions 1.8.2-beta.3 and earlier, 1.7.10 and earlier, 1.6.15 and earlier has a vulnerability in the pro

CVE-2017-12581 HIGH POC
8.1 Aug 06

GitHub Electron before 1.6.8 allows remote command execution because of a nodeIntegration bypass vulnerability. Rated hi

CVE-2018-15685 HIGH POC
8.1 Aug 23

GitHub Electron 1.7.15, 1.8.7, 2.0.7, and 3.0.0-beta.6, in certain scenarios involving IFRAME elements and "nativeWindow

CVE-2018-1000136 HIGH POC
8.1 Mar 23

Electron version 1.7 up to 1.7.12; 1.8 up to 1.8.3 and 2.0.0 up to 2.0.0-beta.3 contains an improper handling of values

CVE-2024-39698 HIGH POC
7.5 Jul 09

electron-updater allows for automatic updates for Electron apps. Rated high severity (CVSS 7.5), this vulnerability is r

CVE-2026-70604 HIGH POC
7.4 Aug 05

Cross-origin read bypass in Electron's custom protocol handler exposes sensitive application data to remote pages via fe

CVE-2026-70611 MEDIUM POC
6.9 Aug 05

Native code execution outside the Chromium sandbox is achievable in Electron prior to 39.8.9, 40.9.2, 41.2.1, and 42.0.0

CVE-2020-4077 CRITICAL
9.9 Jul 07

In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass. Rated critical severity

CVE-2023-23623 CRITICAL
9.8 Sep 06

Electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS. Rated c

CVE-2022-29247 CRITICAL
9.8 Jun 13

Electron is a framework for writing cross-platform desktop applications using JavaScript (JS), HTML, and CSS. Rated crit

CVE-2026-70610 MEDIUM POC
5.4 Aug 05

Prototype pollution via Electron's contextBridge allows untrusted renderer-side web content to smuggle a malicious proto

CVE-2020-4076 CRITICAL
9.0 Jul 07

In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, there is a context isolation bypass. Rated critical severity

Share

CVE-2026-70605 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy