{"id":"CVE-2017-12581","published":"2017-08-06T02:00:00Z","modified":"2024-08-05T18:43:56Z","title":"GitHub Electron before 1.6.8 allows remote command execution because of a nodeIntegration bypass vulnerability","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.06693,"percentile":0.94064,"provenance":"source"},"cwes":[],"references":[{"url":"https://doyensec.com/resources/us-17-Carettoni-Electronegativity-A-Study-Of-Electron-Security.pdf","tags":["x_refsource_MISC"]},{"url":"https://blog.doyensec.com/2017/08/03/electron-framework-security.html","tags":["x_refsource_MISC"]}],"priority":{"score":18.8,"factors":[{"name":"EPSS percentile","points":18.81}]},"affected":[{"ecosystem":"npm","package":"electron","vulnerableRanges":["<1.6.8"],"patched":["1.6.8"],"from":["GHSA-7fv9-m79r-j9x8"],"provenance":"source"}],"summary":{"text":"GitHub Electron versions before 1.6.8, and any application bundling Electron code equivalent to 1.6.8 or earlier, contain a nodeIntegration bypass flaw that lets remote code run on the host. An attacker who can bypass the Same Origin Policy and reach the privileged chrome-devtools inspector page can use it to call Node.js child_process APIs and execute OS commands.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:59:20Z"},"euvd":{"id":"EUVD-2022-2989","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2016-1202","published":"2016-04-25","fixed":"0.33.5","kev":false},{"cve":"CVE-2017-12581","published":"2017-08-06","fixed":"1.6.8","kev":false},{"cve":"CVE-2017-1000424","published":"2018-01-02","fixed":"1.7.6","kev":false},{"cve":"CVE-2017-16151","published":"2018-06-07","fixed":"1.7.8","kev":false,"link":{"from":"CVE-2017-12581","to":"CVE-2017-16151","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"1.6.8","toFixed":"1.6.14","daysApart":305}]}},{"cve":"CVE-2018-1000006","published":"2018-01-24","fixed":"1.8.2-beta.4","kev":false}],"package":"npm:electron"}}