9.3

CVE-2017-12581: electron OS Command Injection

CVSS: 9.3v2.0HighModified
AliasesGHSA-7fv9-m79r-j9x8
Published 06-08-2017Last modified 05-08-2024

Vulnerability summary

CVE-2017-12581 is a high (CVSS 9.3) OS Command Injection vulnerability in electron. EPSS estimates a 6.69% chance of exploitation in the next 30 days, higher than 93.8% of scored vulnerabilities. 2 public exploits are recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.3/10
010
High · v2.0 (NVD)
EPSS score
6.69%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2reference

Timeline

  1. 06-08-2017
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

6.69%

Chance of exploitation in the next 30 days

Percentile

94%

Versus all other CVEs

30-day change

0.00 pp

From 6.69% on 20-09-2026

20-09-202620-10-2026
EPSS score
6.69%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • referenceUnverified

    Exploit Reference (doyensec.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (blog.doyensec.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Electron1 product
Npm1 product
  • electron< 1.6.8

2 vendors · 2 products

References

5 links