Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. electron
  4. ›
  5. CVE-2026-70605

CVE-2026-70605: Electron: HTTP redirect followed into local file loader

August 5, 2026

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 (the default) and expose the response body. Apps that only request fixed, trusted URLs are not affected.

References

  • github.com/advisories/GHSA-v64r-4m7r-3mvq
  • github.com/electron/electron/security/advisories/GHSA-v64r-4m7r-3mvq
  • nvd.nist.gov/vuln/detail/CVE-2026-70605

Code Behaviors & Features

Detect and mitigate CVE-2026-70605 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 39.8.8, all versions starting from 40.0.0-alpha.1 before 40.9.1, all versions starting from 41.0.0-alpha.1 before 41.2.1, all versions starting from 42.0.0-alpha.1 before 42.0.0-beta.3

Fixed versions

  • 39.8.8
  • 40.9.1
  • 41.2.1
  • 42.0.0-beta.3

Solution

Upgrade to versions 39.8.8, 40.9.1, 41.2.1, 42.0.0-beta.3 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

npm/electron/CVE-2026-70605.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:19:11 +0000.