{
  "id": "CVE-2026-70601",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-70601",
  "published_at": "2026-08-05T15:45:31.315Z",
  "title": "Electron: Context isolation bypass via Function.prototype.bind hijack",
  "vendor": "electron",
  "product": "electron",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.9, 40.9.2, 41.2.2, and 42.0.0-beta.5, apps that expose Promise-returning functions to web content via contextBridge may be vulnerable to a context isolation bypass. Untrusted web content could obtain access to the isolated preload world and, through it, every capability the preload script has. In renderers without a sandbox, or with nodeIntegration enabled, this may escalate to Node.js access. Apps are affected if they expose Promise-returning functions via contextBridge, the standard pattern for wrapping ipcRenderer.invoke, in windows that load untrusted content. This issue is fixed in versions 39.8.9, 40.9.2, 41.2.2, and 42.0.0-beta.5.",
  "cwe": "CWE-693",
  "cpes": [
    "cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*",
    "cpe:2.3:a:electronjs:electron:42.0.0:alpha1:*:*:*:node.js:*:*",
    "cpe:2.3:a:electronjs:electron:42.0.0:alpha2:*:*:*:node.js:*:*",
    "cpe:2.3:a:electronjs:electron:42.0.0:alpha3:*:*:*:node.js:*:*",
    "cpe:2.3:a:electronjs:electron:42.0.0:alpha4:*:*:*:node.js:*:*",
    "cpe:2.3:a:electronjs:electron:42.0.0:alpha5:*:*:*:node.js:*:*",
    "cpe:2.3:a:electronjs:electron:42.0.0:alpha6:*:*:*:node.js:*:*",
    "cpe:2.3:a:electronjs:electron:42.0.0:beta1:*:*:*:node.js:*:*",
    "cpe:2.3:a:electronjs:electron:42.0.0:beta2:*:*:*:node.js:*:*",
    "cpe:2.3:a:electronjs:electron:42.0.0:beta3:*:*:*:node.js:*:*",
    "cpe:2.3:a:electronjs:electron:42.0.0:beta4:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "electron",
        "product": "electron",
        "ranges": [
          "\u003c 39.8.9",
          "\u003e= 40.0.0-alpha.1, \u003c 40.9.2",
          "\u003e= 41.0.0-alpha.1, \u003c 41.2.2",
          "\u003e= 42.0.0-alpha.1, \u003c 42.0.0-beta.5"
        ],
        "fixed_in": [
          "39.8.9",
          "40.9.2",
          "41.2.2",
          "42.0.0-beta.5"
        ]
      }
    ],
    "upgrade": [
      "Upgrade electron to 39.8.9 or 40.9.2 or 41.2.2 or 42.0.0-beta.5 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/electron/electron/security/advisories/GHSA-h7rp-cf8h-j98x"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
