Home / Electron / Electron / CVE-2017-12581
CVE-2017-12581: is it exploited, and which versions of Electron are affected and fixed?
CVE-2017-12581 is an OS command injection vulnerability in Electron. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: electron before 1.6.8 (GitHub advisory GHSA-7fv9-m79r-j9x8). Fixed in 1.6.8 (GitHub advisory GHSA-7fv9-m79r-j9x8). Severity: High (8.1, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:39 UTC.
What is CVE-2017-12581?
GitHub Electron before 1.6.8 allows remote command execution because of a nodeIntegration bypass vulnerability. This also affects all applications that bundle Electron code equivalent to 1.6.8 or earlier. Bypassing the Same Origin Policy (SOP) is a precondition; however, recent Electron versions do not have strict SOP enforcement. Combining an SOP bypass with a privileged URL internally used by Electron, it was possible to execute native Node.js primitives in order to run OS commands on the user's host. Specifically, a chrome-devtools://devtools/bundled/inspector.html window could be used to eval a Node.js child_process.execFile API call.
From the CVE record by mitre, last updated August 5, 2024, 18:43 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | electron | < 1.6.8 | 1.6.8 | GHSA-7fv9-m79r-j9x8 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 19, 2023. Summary: Electron vulnerable to remote command execution.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| electron | electron | through 1.6.7 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:03 UTC.
How severe is CVE-2017-12581?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 9.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2017-12581 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 6.69% probability of exploitation activity in the next 30 days, percentile 94.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Where are the vendor advisories and references?
- https://doyensec.com/resources/us-17-Carettoni-Electronegativity-A-Study-Of-Electron-Security.pdf x_refsource_MISC
- https://blog.doyensec.com/2017/08/03/electron-framework-security.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- August 5, 2017
- Published
- August 6, 2017, 02:00 UTC
- CVE record updated
- August 5, 2024, 18:43 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 01:03 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:39 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Electron?
- Oct 23, 2026CVE-2026-115570 electron: improper Check for Certificate Revocation
- Oct 21, 2026CVE-2026-114124 electron: out-of-bounds read
- Oct 21, 2026CVE-2026-114122 electron: out-of-bounds read
- Oct 21, 2026CVE-2026-114121 electron: origin not validated
- Oct 21, 2026CVE-2026-113800 electron: origin not validated
- Oct 21, 2026CVE-2026-113798 electron: origin not validated
- Oct 21, 2026CVE-2026-113797 electron: missing authorization
- Oct 21, 2026CVE-2026-113796 electron: cross-site request forgery (CSRF)
Questions about CVE-2017-12581
Is CVE-2017-12581 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 6.69% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Electron are affected by CVE-2017-12581?
electron before 1.6.8, per the GitHub advisory GHSA-7fv9-m79r-j9x8. The tables above give every range the sources list.
Which version fixes CVE-2017-12581?
1.6.8, per the GitHub advisory GHSA-7fv9-m79r-j9x8. Check the vendor's advisory before you rely on it.
How severe is CVE-2017-12581?
High (8.1, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2017-12581?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.