{"id":"CVE-2026-70597","state":"PUBLISHED","title":"Electron: Parent process code-sign check is spoofable","description":"Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3, the check Electron uses on macOS to confirm it was launched by a same-signed parent process could be bypassed by a local process. Apps that enable fuse-based hardening restricting ELECTRON_RUN_AS_NODE and NODE_OPTIONS to same-signed parents rely on this check, and a local attacker could bypass it and run code inside the signed app, inheriting its TCC permissions and keychain access. This issue is fixed in 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3.","publishedAt":"2026-08-05T15:21:11.054Z","updatedAt":"2026-08-06T03:55:28.858Z","severity":{"score":6.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["electron electron"],"affected":[{"vendor":"electron","product":"electron","versions":[{"version":"< 39.8.8","status":"affected"},{"version":">= 40.0.0-alpha.1, < 40.9.0","status":"affected"},{"version":">= 41.0.0-alpha.1, < 41.2.1","status":"affected"},{"version":">= 42.0.0-alpha.1, < 42.0.0-beta.3","status":"affected"}]}],"references":["https://github.com/electron/electron/security/advisories/GHSA-jm7p-cc5g-qwxx","https://github.com/electron/electron/commit/0a6291a97d210db3733689e70a51f5711e38ed35"],"weaknesses":["CWE-367"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/70xxx/CVE-2026-70597.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-70597","state":"PUBLISHED","datePublished":"2026-08-05T15:21:11.054Z","dateUpdated":"2026-08-06T03:55:28.858Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-04T19:50:27.328Z"},"containers":{"cna":{"title":"Electron: Parent process code-sign check is spoofable","descriptions":[{"lang":"en","value":"Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3, the check Electron uses on macOS to confirm it was launched by a same-signed parent process could be bypassed by a local process. Apps that enable fuse-based hardening restricting ELECTRON_RUN_AS_NODE and NODE_OPTIONS to same-signed parents rely on this check, and a local attacker could bypass it and run code inside the signed app, inheriting its TCC permissions and keychain access. This issue is fixed in 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3."}],"affected":[{"vendor":"electron","product":"electron","versions":[{"version":"< 39.8.8","status":"affected"},{"version":">= 40.0.0-alpha.1, < 40.9.0","status":"affected"},{"version":">= 41.0.0-alpha.1, < 41.2.1","status":"affected"},{"version":">= 42.0.0-alpha.1, < 42.0.0-beta.3","status":"affected"}]}],"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-jm7p-cc5g-qwxx","name":"https://github.com/electron/electron/security/advisories/GHSA-jm7p-cc5g-qwxx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/electron/electron/commit/0a6291a97d210db3733689e70a51f5711e38ed35","name":"https://github.com/electron/electron/commit/0a6291a97d210db3733689e70a51f5711e38ed35","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-367","lang":"en","description":"CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-05T15:23:14.524Z"},"source":{"advisory":"GHSA-jm7p-cc5g-qwxx","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-05T00:00:00+00:00","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2026-70597"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-06T03:55:28.858Z"}}]}}}