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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"electronjs:electron": [
"< 39.8.7",
"= 42.0.0-alpha1+node.js",
"= 42.0.0-alpha2+node.js",
"= 42.0.0-alpha3+node.js",
"= 42.0.0-alpha4+node.js",
"= 42.0.0-alpha5+node.js",
"= 42.0.0-alpha6+node.js",
"= 42.0.0-beta1+node.js",
"= 42.0.0-beta2+node.js",
">= 40.0.0, < 40.9.0",
">= 41.0.0, < 41.2.1"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-70599",
"id": "CVE-2026-70599",
"imported": "2026-11-21T06:56:03.681Z",
"modified": "2026-10-08T13:54:19.333Z",
"published": "2026-08-05T16:17:03.913Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-70599"
},
{
"affected": {
"electronjs:electron": [
"< 39.8.7",
">= 40.0.0-alpha.1, < 40.9.0",
">= 41.0.0-alpha.1, < 41.2.0",
">= 42.0.0-alpha.1, < 42.0.0-beta.1"
]
},
"fields": [
"affected"
],
"html_url": "https://github.com/electron/electron/security/advisories/GHSA-9pf5-hg6p-4pwp",
"id": "GHSA-9pf5-hg6p-4pwp",
"imported": "2026-11-21T06:56:03.681Z",
"modified": "2026-08-05T15:28:52Z",
"published": "2026-07-27T23:49:48Z",
"url": "https://api.github.com/repos/electron/electron/security-advisories/GHSA-9pf5-hg6p-4pwp"
}
]
}