{"id":"GHSA-jm7p-cc5g-qwxx","revision":"d316eb6d1b7d4c54b1649e943e336e3c","records":[{"revision":"d316eb6d1b7d4c54b1649e943e336e3c","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-jm7p-cc5g-qwxx","aliases":["CVE-2026-70597"],"title":"Electron: Parent process code-sign check is spoofable","description":"### Impact\nOn macOS, the check Electron uses to confirm it was launched by a same-signed parent process could be bypassed by a local process. Apps that enable the fuse-based hardening restricting `ELECTRON_RUN_AS_NODE` and `NODE_OPTIONS` to same-signed parents rely on this check; a local attacker could bypass it and run their own code inside the signed app, inheriting its TCC permissions and keychain access.\n\nApps are only affected if they enable those macOS fuse-based restrictions. Apps that do not enable them are not affected.\n\n### Workarounds\nThere are no app side workarounds, you must update to a patched version of Electron.\n\n### Fixed Versions\n* `42.0.0-beta.3`\n* `41.2.1`\n* `40.9.0`\n* `39.8.8`\n\n### For more information\nIf you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org)","state":0,"publishedAt":"2026-08-05T15:21:22+00:00","modifiedAt":"2026-08-05T15:41:04.630203+00:00","affected":[{"ecosystem":"npm","name":"electron","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"39.8.8"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"electron","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"40.0.0-alpha.1"},{"kind":"fixed","version":"40.9.1"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"electron","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"41.0.0-alpha.1"},{"kind":"fixed","version":"41.2.1"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"electron","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"42.0.0-alpha.1"},{"kind":"fixed","version":"42.0.0-beta.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/electron/electron/security/advisories/GHSA-jm7p-cc5g-qwxx","https://github.com/electron/electron/commit/0a6291a97d210db3733689e70a51f5711e38ed35","https://github.com/electron/electron"],"sourceUrl":"https://github.com/advisories/GHSA-jm7p-cc5g-qwxx","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-jm7p-cc5g-qwxx","identifiers":["GHSA-jm7p-cc5g-qwxx","CVE-2026-70597"]},"retained":false,"historicalAffected":[]}],"coverage":[]}