{"id":"GHSA-r4w5-6pfg-jxp5","revision":"4399a5367d594d61a9d552469b7c0f25","records":[{"revision":"4399a5367d594d61a9d552469b7c0f25","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-r4w5-6pfg-jxp5","aliases":["CVE-2026-70606"],"title":"Electron: ProtocolResponse.url reuses the default session cache instead of the registering session","description":"### Impact\nWhen a custom protocol handler returned a `ProtocolResponse` with a `url` and no `session`, Electron made the upstream request through `defaultSession` instead of the session that handled the protocol. A cached response could then be reused across otherwise isolated session partitions.\n\nApps that use `ProtocolResponse.url`, omit `ProtocolResponse.session`, and rely on separate sessions to isolate content are affected. Apps that set an explicit `session`, or that do not isolate content across sessions, are not affected.\n\n### Workarounds\nSet `ProtocolResponse.session` explicitly so the request uses the intended session's cache.\n\n### Fixed Versions\n* `43.0.0`\n* `42.5.1`\n* `41.9.1`\n* `40.10.6`\n\n### For more information\nIf you have any questions or comments about this advisory, email Electron at [security@electronjs.org](mailto:security@electronjs.org)","state":0,"publishedAt":"2026-08-05T16:07:59+00:00","modifiedAt":"2026-08-05T16:26:04.488442+00:00","affected":[{"ecosystem":"npm","name":"electron","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"43.0.0-alpha.1"},{"kind":"fixed","version":"43.0.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"electron","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"42.0.0-alpha.1"},{"kind":"fixed","version":"42.5.1"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"electron","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"41.0.0-alpha.1"},{"kind":"fixed","version":"41.9.1"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"electron","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"40.0.0-alpha.1"},{"kind":"fixed","version":"40.10.6"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/electron/electron/security/advisories/GHSA-r4w5-6pfg-jxp5","https://github.com/electron/electron"],"sourceUrl":"https://github.com/advisories/GHSA-r4w5-6pfg-jxp5","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-r4w5-6pfg-jxp5","identifiers":["GHSA-r4w5-6pfg-jxp5","CVE-2026-70606"]},"retained":false,"historicalAffected":[]}],"coverage":[]}