CVE-2026-70603: Electron - Path Traversal
- Cve: CVE-2026-70603
- Name: Electron - Path Traversal
- Description: Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.6, 40.9.0, 41.1.1, and 42.0.0-beta.1, shell.openPath() did not reject paths containing embedded null bytes. Apps that perform string-only validation of file paths, for example checking the file extension, before passing them to shell.openPath() could be bypassed, allowing an attacker-controlled path to open a different file than the one that passed validation. Apps are only affected if they pass paths derived from untrusted input to shell.openPath() and rely on string-based validation without a filesystem check. This issue is fixed in versions 39.8.6, 40.9.0, 41.1.1, and 42.0.0-beta.1.
- Impact: Attackers can bypass file path validation to open unintended files, potentially exposing sensitive data or causing unauthorized file access.
- Remediation: Update to versions 39.8.6, 40.9.0, 41.1.1, or 42.0.0-beta.1 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_read, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6
- Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
- Epss score: 0.00132
- Epss percentile: 0.02772
- Assignee: [email protected]
- Published at: 2026-08-05T16:17:04Z
- Age in days: 111
- Modified at: 2026-11-03T23:17:53Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-70603
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/electron/electron/security/advisories/GHSA-5c9j-mhmv-5xgx | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| electronjs:electron | = 42.0.0 alpha1; = 42.0.0 alpha2; = 42.0.0 alpha3; = 42.0.0 alpha4; = 42.0.0 alpha5; = 42.0.0 alpha6; = 42.0.0 beta1; >= 41.0.0, < 41.1.1; >= 40.0.0, < 40.9.0; < 39.8.6 | no | nvd | /v1/products/electronjs/electron |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| electron/electron | package, security_advisory | yes | /v1/repositories/electron/electron |
Index
- Repositories: 16
- Repositories high signal: 10
- Packages: 1
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts