6

CVE-2026-70603: electron Improper Input Validation

CVSS: 6.0v3.1MediumAnalyzed
AliasesGHSA-5c9j-mhmv-5xgx
Published 05-08-2026Last modified 06-08-2026

Vulnerability summary

CVE-2026-70603 is a medium (CVSS 6.0) Improper Input Validation vulnerability in electron. EPSS estimates a 0.13% chance of exploitation in the next 30 days, higher than 2.5% of scored vulnerabilities.

Overall risk
24/100
0100
Low · default modelHow is this calculated?
CVSS score
6.0/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.13%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

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

Description

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.6, 40.9.0, 41.1.1, and 42.0.0-beta.1, shell.openPath() did not reject paths containing embedded null bytes. Apps that perform string-only validation of file paths, for example checking the file extension, before passing them to shell.openPath() could be bypassed, allowing an attacker-controlled path to open a different file than the one that passed validation. Apps are only affected if they pass paths derived from untrusted input to shell.openPath() and rely on string-based validation without a filesystem check. This issue is fixed in versions 39.8.6, 40.9.0, 41.1.1, and 42.0.0-beta.1.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.13%

Chance of exploitation in the next 30 days

Percentile

3%

Versus all other CVEs

30-day change

+0.03 pp

From 0.10% on 20-09-2026

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

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Electron1 product
  • electron< 39.8.6 | ≥ 40.0.0-alpha.1, < 40.9.0 | ≥ 41.0.0-alpha.1, < 41.1.1 | ≥ 42.0.0-alpha.1, < 42.0.0-beta.1
Electronjs1 product
  • electron< 39.8.6 | ≥ 40.0.0, < 40.9.0 | ≥ 41.0.0, < 41.1.1 | 42.0.0:alpha1 | 42.0.0:alpha2 | 42.0.0:alpha3 | 42.0.0:alpha4 | 42.0.0:alpha5 | 42.0.0:alpha6 | 42.0.0:beta1
Npm1 product
  • electron≥ 42.0.0-alpha.1, < 42.0.0-beta.1 | ≥ 41.0.0-alpha.1, < 41.1.1 | ≥ 40.0.0-alpha.1, < 40.9.0 | < 39.8.6

3 vendors · 3 products

References

2 links