Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
Medium
Published: 08/05/2026 (08/05/2026, 16:04:09 UTC)
Source: GCVE Database
Product: electron

Description

Electron versions prior to 39.8.8 have a vulnerability where HTTP redirects followed by net.fetch() and net.request() are not restricted by scheme. This allows a remote server to redirect a request to a local resource, potentially disclosing local file contents if the app exposes the response body. Only apps making net requests to attacker-controlled URLs with redirects followed and response bodies exposed are affected. Fixed versions include 39.8.8 and later.

CVSS v3.1

Score 5.9medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected software

npmghsa
electron
Affected versions
<39.8.8
npmghsa
electron
Affected versions
>=40.0.0-alpha.1 <40.9.1
npmghsa
electron
Affected versions
>=41.0.0-alpha.1 <41.2.1
npmghsa
electron
Affected versions
>=42.0.0-alpha.1 <42.0.0-beta.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 23:18:05 UTC

Technical Analysis

The vulnerability in Electron's net.fetch() and net.request() functions allows HTTP redirects to target local file schemes without restriction. A remote attacker controlling a URL can cause the application to follow a redirect to a local resource, and if the application returns or forwards the response body, local files may be disclosed. This affects applications that follow redirects by default and expose the response body from attacker-influenced URLs. The issue is fixed in Electron versions 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3.

Potential Impact

An attacker can cause an Electron app to disclose local file contents by redirecting HTTP requests to local resources. This results in confidentiality loss of local files. The impact is limited to apps that make net requests to attacker-controlled URLs with redirects followed and expose the response body. There is no impact on integrity or availability.

Mitigation Recommendations

Upgrade Electron to version 39.8.8 or later where the issue is fixed. Alternatively, set the request option redirect to 'error' or 'manual' on requests to untrusted URLs and validate redirect targets before following them to prevent redirection to local resources.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-v64r-4m7r-3mvq
Osv Schema Version
1.4.0
Aliases
["CVE-2026-70605"]
Ecosystems
["npm"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a73851ebf8831d5394ef7cf

Added to database: 08/05/2026, 18:46:54 UTC

Last enriched: 08/05/2026, 23:18:05 UTC

Last updated: 08/05/2026, 23:18:05 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses