# CVE-2026-70604: Electron: Custom protocol with supportFetchAPI but not corsEnabled allows cross-origin reads

- Severity: High 7.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-08-05T15:59:24.043Z
- Modified: 2026-10-08T13:53:51.593Z
- Also known as: GHSA-v3j7-r9gq-3gjw
- Weaknesses: CWE-942
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.10, 40.9.3, 41.4.0, and 42.0.0, a custom scheme registered with supportFetchAPI: true but without corsEnabled: true was not subject to CORS enforcement. A page loaded from a remote origin could therefore fetch() or XMLHttpRequest that scheme cross-origin and read the full response body, rather than the read being blocked. Apps that serve sensitive data from such a scheme and load remote or untrusted content in a renderer are affected. This issue is fixed in versions 39.8.10, 40.9.3, 41.4.0, and 42.0.0.

(As written by CVE List.)

## Affected

- electron electron: < 39.8.10; >= 40.0.0-alpha.1, < 40.9.3; >= 41.0.0-alpha.1, < 41.4.0; >= 42.0.0-alpha.1, < 42.0.0
- electron (npm): from 42.0.0-alpha.1 before 42.0.0; from 41.0.0-alpha.1 before 41.4.0; from 40.0.0-alpha.1 before 40.9.3; before 39.8.10
- electronjs electron: before 39.8.10; from 40.0.0 before 40.9.3; from 41.0.0 before 41.4.0; 42.0.0

## Every score

- GitHub_M: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`

## References

- <https://github.com/electron/electron/security/advisories/GHSA-v3j7-r9gq-3gjw> (vendor-advisory, web)
- <https://github.com/electron/electron> (package)

## Sources

- CVE List: [CVE-2026-70604](https://www.cve.org/CVERecord?id=CVE-2026-70604), CVE Terms of Use, modified 2026-08-05
- GitHub Advisory Database: [GHSA-v3j7-r9gq-3gjw](https://github.com/advisories/GHSA-v3j7-r9gq-3gjw), CC-BY-4.0, modified 2026-08-05
- NVD: [CVE-2026-70604](https://nvd.nist.gov/vuln/detail/CVE-2026-70604), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2026-70604 · Whole record: https://cve.day/CVE-2026-70604.json · Rebuilt by cve.day 2026-11-25T22:59:31.128Z
