{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2017-12581","published":"2017-08-06T02:29:00.227000Z","last_modified":"2026-06-17T01:03:32.557000Z","status":"Modified","cvss":{"version":"3.0","score":8.1,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-78"],"cpes":[{"criteria":"cpe:2.3:a:electron:electron:*:*:*:*:*:*:*:*","part":"a","vendor":"electron","product":"electron","version_end_including":"1.6.7"}],"cpes_truncated":false,"vendors":["electron"],"products":["electron/electron"],"epss":{"score":0.06693,"percentile":0.94691,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-7fv9-m79r-j9x8","ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[{"introduced":"0","fixed":"1.6.8"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":64,"links":{"html_es":"/es/cve/CVE-2017-12581/","html_en":"/en/cve/CVE-2017-12581/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-12581","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-12581"},"untrusted":{"vendor_name":"Electron","product_name":"Electron","desc_en":"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.","affected":[],"references":[{"url":"https://blog.doyensec.com/2017/08/03/electron-framework-security.html","tags":["Exploit","Technical Description","Third Party Advisory"]},{"url":"https://doyensec.com/resources/us-17-Carettoni-Electronegativity-A-Study-Of-Electron-Security.pdf","tags":["Exploit","Technical Description","Third Party Advisory"]}]}}