CVE-2023-39956: Electron - Security Bypass
- Cve: CVE-2023-39956
- Name: Electron - Security Bypass
- Description: Electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS. Electron apps that are launched as command line executables are impacted. Specifically this issue can only be exploited if the following conditions are met: 1. The app is launched with an attacker-controlled working directory and 2. The attacker has the ability to write files to that working directory. This makes the risk quite low, in fact normally issues of this kind are considered outside of our threat model as similar to Chromium we exclude Physically Local Attacks but given the ability for this issue to bypass certain protections like ASAR Integrity it is being treated with higher importance. This issue has been fixed in versions:`26.0.0-beta.13`, `25.4.1`, `24.7.1`, `23.3.13`, and `22.3.19`. There are no app side workarounds, users must update to a patched version of Electron.
- Impact: Attackers can bypass ASAR Integrity protections, potentially leading to code execution or tampering in Electron applications.
- Remediation: Update to Electron versions 26.0.0-beta.13, 25.4.1, 24.7.1, 23.3.13, or 22.3.19.
- Vulnerability type: misconfiguration
- Vulnerability impact: file_system_write, file_system_read
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.6
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
- Epss score: 0.00491
- Epss percentile: 0.42776
- Assignee: [email protected]
- Published at: 2023-09-06T21:15:13Z
- Age in days: 1175
- Modified at: 2026-06-17T06:13:01Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-39956
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
Hackerone
- Reports: 2
- Rank: 3806
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/electron/electron/security/advisories/GHSA-7x97-j373-85x5 | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| electronjs:electron | = 26.0.0 alpha1; = 26.0.0 alpha2; = 26.0.0 alpha3; = 26.0.0 alpha4; = 26.0.0 alpha5; = 26.0.0 alpha6; = 26.0.0 alpha7; = 26.0.0 alpha8; = 26.0.0 beta1; = 26.0.0 beta10; = 26.0.0 beta11; = 26.0.0 beta12; = 26.0.0 beta2; = 26.0.0 beta3; = 26.0.0 beta4; = 26.0.0 beta5; = 26.0.0 beta6; = 26.0.0 beta7; = 26.0.0 beta8; = 26.0.0 beta9; >= 25.0.0, < 25.5.0; >= 24.0.0, < 24.7.1; >= 23.0.0, < 23.3.13; < 22.3.9 | no | nvd | /v1/products/electronjs/electron |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| electron/electron | package, security_advisory | yes | /v1/repositories/electron/electron |
Index
- Repositories: 8
- Repositories high signal: 4
- Packages: 1
Exploitation
- Authentication required: yes
- Hackerone reports: 2
- 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, exposed hosts