Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2026-70603

medium

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS.

Vendor / product: Electronjs — electron

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
6.0
6.0 (CVSS v3.1)
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
Severity source: NVD CVSS v3.1 (security-advisories@github.com)
Timeline (UTC)
Published: 2026-08-05 16:17
Modified: 2026-11-03 23:17
NVD status: Analyzed
Last synced 1 day ago
Verified against the source API 2026-11-03 23:24 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

electronjs / electron <39.8.6, ≥40.0.0 <40.9.0, ≥41.0.0 <41.1.1, 42.0.0

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Vendor advisory: https://github.com/electron/electron/security/advisories/GHSA-5c9j-mhmv-5xgx

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-03 23:24 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs