CVE-2023-39956 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 26, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/electron/electron/security/advisories/GHSA-7x97-j373-85x5 | CVE | Vendor Advisory |
| https://github.com/electron/electron/security/advisories/GHSA-7x97-j373-85x5 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| electronjs electron | < 22.3.9 >= 23.0.0, < 23.3.13 >= 24.0.0, < 24.7.1 >= 25.0.0, < 25.5.0 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 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Sep 12, 2023 | Initial Analysis | [email protected] |