GitHub Electron before 1.6.8 allows remote command execution because of a nodeIntegration…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | electron (npm) | before 1.6.8 | 1.6.8 | Patch available | GHSA-7fv9-m79r-j9x8 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- electron (npm) Vendor— Affected before 1.6.8 Fixed in 1.6.8 Patch available GHSA-7fv9-m79r-j9x8
Remediation
- Fix · GHSA-7fv9-m79r-j9x8 electron (npm) Fixed in 1.6.8 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2017-12581
- 2026-10-03 Alias added: GHSA-7fv9-m79r-j9x8
References
Exploit 2
Sources
- CVE-2017-12581 · CVE Program
- CVE-2017-12581 · NVD
- FIRST EPSS
- GHSA-7fv9-m79r-j9x8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences