CVE-2026-70597: Electron - Privilege Escalation
- Cve: CVE-2026-70597
- Name: Electron - Privilege Escalation
- 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, the check Electron uses on macOS to confirm it was launched by a same-signed parent process could be bypassed by a local process. Apps that enable fuse-based hardening restricting ELECTRON_RUN_AS_NODE and NODE_OPTIONS to same-signed parents rely on this check, and a local attacker could bypass it and run code inside the signed app, inheriting its TCC permissions and keychain access. This issue is fixed in 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3.
- Impact: Local attackers can run code inside signed apps, gaining elevated permissions including TCC and keychain access.
- Remediation: Update to versions 39.8.8, 40.9.0, 41.2.1, 42.0.0-beta.3 or later.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.3
- Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- Epss score: 0.00104
- Epss percentile: 0.00993
- Assignee: [email protected]
- Published at: 2026-08-05T16:17:03Z
- Age in days: 111
- Modified at: 2026-10-08T13:47:07Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-70597
- 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-367 | Time-of-check Time-of-use (TOCTOU) Race Condition |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/electron/electron/commit/0a6291a97d210db3733689e70a51f5711e38ed35 | nvd | Patch |
| https://github.com/electron/electron/security/advisories/GHSA-jm7p-cc5g-qwxx | 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; = 42.0.0 beta2; >= 41.0.0, <= 41.2.1; >= 40.0.0, < 40.9.0; < 39.8.8 | no | nvd | /v1/products/electronjs/electron |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| electron/electron | commit, fix, 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