CVE-2018-1000006
highpriority · attend · 75EPSS 0.844 · 100 %ileexploit · functionalEUUSEPSS · scored 2026-10-27
GitHub Electron versions 1.8.2-beta.3 and earlier, 1.7.10 and earlier, 1.6.15 and earlier has a vulnerability in the protocol handler, specifically Electron apps running on Windows 10, 7 or 2008 that register custom protocol handlers can be tricked in arbitrary command execution if the user clicks on a specially crafted URL. This has been fixed in versions 1.8.2-beta.4, 1.7.11, and 1.6.16.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (4)
Public proof-of-concept and weaponised exploit code.
- EDB-44357Exodus Wallet (ElectronJS Framework) - Remote Code Execution (Metasploit)functional · exploit_db
- CHYbeta/CVE-2018-1000006-DEMOThe Demo for CVE-2018-1000006PoC · poc_in_github
affected products (7)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-w222-53c6-c86pRemote Code Execution in electron2018-01-23ghsa · osvUS
Affected versions of `electron` may be susceptible to a remote code execution flaw when certain conditions are met: 1. The electron application is running on Windows. 2. The electron application registers as the default handler for a protocol, such as `nodeapp://`. This vulnerability is caused by a failure to sanitize additional arguments to chromium in the command line handler for Electron. MacOS and Linux are not vulnerable. ## Recommendation Update electron to a version that is not vulnerable. If updating is not possible, the electron team has provided the following guidance: If for some reason you are unable to upgrade your Electron version, you can append `--` as the last argument when calling `app.setAsDefaultProtocolClient`, which prevents Chromium from parsing further options. The double dash `--` signifies the end of command options, after which only positional parameters are accepted. ``` app.setAsDefaultProtocolClient(protocol, process.execPath, [ '--your-switches-here', '--' ]) ```
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://github.com/electron/electron/releases/tag/v1.8.2-beta.4cnnvd
- http://www.securityfocus.com/bid/102796enisa_euvd
- https://electronjs.org/blog/protocol-handler-fixenisa_euvd
- https://github.com/electron/electron/releases/tag/v1.8.2-beta.4enisa_euvd
- https://medium.com/%40Wflki/exploiting-electron-rce-in-exodus-wallet-d9e6db13c374enisa_euvd
- https://www.exploit-db.com/exploits/43899/enisa_euvd
- https://www.exploit-db.com/exploits/44357/enisa_euvd
- http://www.securityfocus.com/bid/102796Third Party AdvisoryVDB Entrynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan