{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "39.8.8"
              },
              {
                "introduced": "40.0.0-alpha.1"
              },
              {
                "fixed": "40.9.0"
              },
              {
                "introduced": "41.0.0-alpha.1"
              },
              {
                "fixed": "41.2.1"
              },
              {
                "introduced": "42.0.0-alpha.1"
              },
              {
                "fixed": "42.0.0-beta.3"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "c0435f7a9fc498b1ece041d209c6c74d4a7e201b"
            },
            {
              "introduced": "a01b4becfa7bf770d2abc6f2fef7076b10005b0d"
            },
            {
              "fixed": "ea4a478a8845bc9a00064918dab6f32477807d41"
            },
            {
              "introduced": "486a9a61d2723755adc4be5e407888d755ee3b9c"
            },
            {
              "fixed": "8ee008ad48671e179d1b8258879871709babfff3"
            },
            {
              "introduced": "f4a50a8fde877075ce3877efd54578997d5e7ece"
            },
            {
              "fixed": "ef664710a0d51735b0a67f04e1fe01f8484351d7"
            }
          ],
          "repo": "https://github.com/electron/electron",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-v64r-4m7r-3mvq"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-918"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70605.json"
  },
  "details": "Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3, when 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. Apps are only affected if they make net requests to attacker-influenced URLs with redirects followed and expose the response body. This issue is fixed in versions 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3.",
  "id": "CVE-2026-70605",
  "modified": "2026-08-08T03:30:45.960580829Z",
  "published": "2026-08-05T16:04:12.428Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70605.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/electron/electron/security/advisories/GHSA-v64r-4m7r-3mvq"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-70605"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Electron: HTTP redirect followed into local file loader"
}