Server-side Request Forgery (SSRF) The advisory has been revoked - it doesn't affect any version of package electron/electron  (opens in a new tab)


Threat Intelligence

EPSS
0.32% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-ELECTRONELECTRON-18563323
  • published6 Aug 2026
  • disclosed5 Aug 2026
  • creditUnknown

Introduced: 5 Aug 2026

CVE-2026-70605  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade electron/electron to version 39.8.8, 40.9.0, 41.2.1, 42.0.0-beta.3 or higher.

Amendment

This was deemed not a vulnerability.

Overview

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the net.fetch or net.request. An attacker can access local file contents by redirecting HTTP requests to local resources and causing the application to return or forward the response body.

Note: This is only exploitable if requests are made to attacker-controlled URLs with redirects followed and the response body is exposed.

Workaround

This vulnerability can be mitigated by setting redirect: 'error' or redirect: 'manual' on requests to untrusted URLs and validating any redirect target before following it.