{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "39.8.10"
              },
              {
                "introduced": "40.0.0-alpha.1"
              },
              {
                "fixed": "40.9.3"
              },
              {
                "introduced": "41.0.0-alpha.1"
              },
              {
                "fixed": "41.4.0"
              },
              {
                "introduced": "42.0.0-alpha.1"
              },
              {
                "fixed": "42.0.0"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "d7c42ebd5cd501a0e6d9f009e232369832f92d69"
            },
            {
              "introduced": "a01b4becfa7bf770d2abc6f2fef7076b10005b0d"
            },
            {
              "fixed": "41ad342a17a192e9a6640dd94806763698bf336f"
            },
            {
              "introduced": "486a9a61d2723755adc4be5e407888d755ee3b9c"
            },
            {
              "fixed": "ff343d48087ed42eb85473b65a98fa19829c1fa4"
            },
            {
              "introduced": "f4a50a8fde877075ce3877efd54578997d5e7ece"
            },
            {
              "fixed": "51db52e1b56e0739944dfbc679a86f2c69a26e5f"
            }
          ],
          "repo": "https://github.com/electron/electron",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-v3j7-r9gq-3gjw"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-942"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70604.json"
  },
  "details": "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.",
  "id": "CVE-2026-70604",
  "modified": "2026-08-07T11:31:09.280248001Z",
  "published": "2026-08-05T15:59:24.043Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70604.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/electron/electron/security/advisories/GHSA-v3j7-r9gq-3gjw"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-70604"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Electron: Custom protocol with supportFetchAPI but not corsEnabled allows cross-origin reads"
}