Command injectionin the electron package.
No public exploit found; not on exploited lists.
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.
- Upgrade electron (npm) to 1.6.8 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 5 Aug 2017CVE ID reserved by mitre.
- 6 Aug 2017Published in the CVE List.
- 5 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other vulnerabilities in this package
- doyensec.com x_refsource_MISC
- blog.doyensec.com x_refsource_MISC
Patchminder. CVE-2017-12581: Command injection in the electron package. https://patchminder.com/cve/cve-2017-12581/ (accessed 5 December 2026).