← Vulnerability feed

Vulnerability record · CVE-2018-1000006 · published 24 January 2018

CVE-2018-1000006: Electron protocol handler allows arbitrary command execution on Windows

Atom · Electron

Electron apps on Windows (10, 7, 2008) that register custom protocol handlers can be tricked into executing arbitrary commands when a user clicks a specially crafted URL. The flaw is an OS command injection in the protocol handler, fixed in 1.8.2-beta.4, 1.7.11 and 1.6.16. It matters because any Electron-based desktop app with a registered protocol is exposed to remote code execution through a single user click.

8.8 CVSS 3.0 High EPSS 85% · top 0.3% CWE-78 · OS command injection
8.8CVSS 3.0 base score, v2 9.3
85%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
12References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

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:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityRemote code execution with high CVSS (8.8), very high EPSS and public exploit code, though it requires user interaction and is not in KEV.

What it is

Electron apps on Windows (10, 7, 2008) that register custom protocol handlers can be tricked into executing arbitrary commands when a user clicks a specially crafted URL. The flaw is an OS command injection in the protocol handler, fixed in 1.8.2-beta.4, 1.7.11 and 1.6.16. It matters because any Electron-based desktop app with a registered protocol is exposed to remote code execution through a single user click.

Impact

An attacker who gets a victim to click a crafted URL gains arbitrary command execution in the context of the Electron application, with high impact to confidentiality, integrity and availability.

Attack surface

Reached over the network via a crafted URL that triggers the app's registered custom protocol handler; no authentication is required but user interaction (a click) is required per the CVSS vector UI:R.

Exploitation

Not listed in CISA KEV, but EPSS is 0.845 (99.7th percentile) and public exploit code exists on Exploit-DB, indicating active interest and practical exploitability.

What to do

  • Upgrade Electron to 1.8.2-beta.4, 1.7.11, 1.6.16 or later, and rebuild/release affected applications.
  • Audit which custom protocol handlers your Electron apps register and remove or restrict any that are not strictly needed.
  • Validate and sanitize all input passed from protocol handler URLs before it reaches command execution paths.
  • Warn users not to click unsolicited protocol links and consider blocking unknown protocol launches at the OS level.

Detection

  • Monitor process creation events for Electron app processes spawning unexpected child processes such as cmd.exe or powershell.exe.
  • Log and review invocations of registered custom protocol handlers, especially those originating from email, chat or browser links.
  • Alert on command lines containing shell metacharacters passed through protocol handler arguments.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2018-1000006 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.8CVE-2016-1202Atom electron vulnerabilityUntrusted search path vulnerability in Atom Electron before 0.33.5 allows local users to gain privileges via a Trojan horse Node.js module in a paren…EPSS 0.43%4.3CVE-2017-1000424Atom electron vulnerabilityGithub Electron version 1.6.4 - 1.6.11 and 1.7.0 - 1.7.5 is vulnerable to a URL Spoofing problem when opening PDFs in PDFium resulting loading arbitr…EPSS 0.98%8.8CVE-2026-53266Linux kernel ebtables SNAT out-of-bounds write in ARP rewriteThe ebtables SNAT target rewrites the ARP sender hardware address via skb_store_bits() without first making that range writable. When the ARP SHA byt…KEVEPSS 0.65%analysed8.8CVE-2026-87491Google Chrome V8 out-of-bounds write enables sandbox code executionChrome before 153.0.8010.36 contains an out-of-bounds write in the V8 JavaScript engine. A crafted HTML page can trigger the memory corruption, and b…KEVEPSS 3.1%analysed9.8CVE-2025-25249Fortinet FortiOS and FortiSwitchManager heap buffer overflow via crafted packetsA heap-based buffer overflow (CWE-122/CWE-787) in Fortinet FortiOS 6.4 through 7.6.3 and FortiSwitchManager 7.0 through 7.2.6 lets an unauthenticated…KEVEPSS 3.9%analysed7.8CVE-2026-83549SonicWall SMA1000 AMC OS Command InjectionThe SMA1000 Appliance Management Console contains an OS command injection flaw (CWE-78) that lets an authenticated administrator execute arbitrary op…KEVEPSS 11%analysed10.0CVE-2026-49869Kestra OSS auth bypass via path suffix match enables RCEKestra OSS AuthenticationFilter whitelists the public config endpoint using request.getPath().endsWith("/configs"), a suffix match instead of an exac…KEVEPSS 2.1%analysed7.8CVE-2026-53362Linux kernel IPv6 UDP paged allocation out-of-bounds write__ip6_append_data() in the Linux kernel mis-accounts fraggap on the paged-allocation path, leaving the linear skb area undersized while pagedlen is o…KEVEPSS 0.71%analysed

Source: NIST National Vulnerability Database (record CVE-2018-1000006), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.