{"id":"GHSA-v64r-4m7r-3mvq","revision":"140b40192a9d42bba518ad8553cd2246","records":[{"revision":"140b40192a9d42bba518ad8553cd2246","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-v64r-4m7r-3mvq","aliases":["CVE-2026-70605"],"title":"Electron: HTTP redirect followed into local file loader","description":"### Impact\nWhen following HTTP redirects, `net.fetch()` and `net.request()` did not restrict which schemes a redirect could target. A remote server could redirect a request to a local resource, and if the app returns or forwards the response body, local file contents could be disclosed.\n\nApps are only affected if they make `net` requests to attacker-influenced URLs with redirects followed (the default) and expose the response body. Apps that only request fixed, trusted URLs are not affected.\n\n### Workarounds\nSet `redirect: 'error'` or `redirect: 'manual'` on requests to untrusted URLs and validate any redirect target before following it.\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 Electron at [security@electronjs.org](mailto:security@electronjs.org)","state":0,"publishedAt":"2026-08-05T16:04:09+00:00","modifiedAt":"2026-08-05T16:26:04.559668+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:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/electron/electron/security/advisories/GHSA-v64r-4m7r-3mvq","https://github.com/electron/electron"],"sourceUrl":"https://github.com/advisories/GHSA-v64r-4m7r-3mvq","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-v64r-4m7r-3mvq","identifiers":["GHSA-v64r-4m7r-3mvq","CVE-2026-70605"]},"retained":false,"historicalAffected":[]}],"coverage":[]}