CVE Catalog

CVE-2026-70599

MediumCVSS 5.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.14%

4th percentile - higher than 4% of all known CVEs

Summary

In Electron prior to 39.8.7, 40.9.0, 41.2.0, and 42.0.0-beta.1, serial-port and media permission checks made from an iframe passed the top-level frame origin to session.setPermissionCheckHandler instead of the requesting iframe origin. Origin-based handler logic could grant a cross-origin iframe device access intended only for the top-level origin.

Risk Assessment

An attacker could exploit this to gain unauthorized access to devices (e.g., serial ports, cameras) within an Electron app, potentially leading to privacy breaches or data integrity issues.

Recommendation

Update Electron to version 39.8.7, 40.9.0, 41.2.0, or 42.0.0-beta.1 (or later) depending on your branch.

Other vulnerabilities in Electron

See all
Original NVD description (English source)

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.7, 40.9.0, 41.2.0, and 42.0.0-beta.1, serial-port and media permission checks made from an iframe passed the top-level frame origin to session.setPermissionCheckHandler instead of the requesting iframe origin. Origin-based handler logic could grant a cross-origin iframe device access intended only for the top-level origin. This issue is fixed in 39.8.7, 40.9.0, 41.2.0, and 42.0.0-beta.1.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS