CVE-2026-70605
published medium CVSS 3.1 · 5.9Electron: HTTP redirect followed into local file loader
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| electron | — | 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 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| electron | electron | < 39.8.8 (affected)>= 40.0.0-alpha.1, < 40.9.0 (affected)>= 41.0.0-alpha.1, < 41.2.1 (affected)>= 42.0.0-alpha.1, < 42.0.0-beta.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
References
1Provider assertions
2GitHub_M · cna
Electron: HTTP redirect followed into local file loader
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bab4acd931dc0cf184e207fc89210f4dbd28e1966e42c51f6a26ae38ee4f72fa
- Ingested
- 23 Sep 2026, 09:29:10 UTC
- Source record
- Official CVE record