# Electron: Context isolation bypass via Function.prototype.bind hijack

Advisory record · `GHSA-h7rp-cf8h-j98x`

- **Identifiers:** `GHSA-h7rp-cf8h-j98x` · `CVE-2026-70601`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-693](https://cwe.mitre.org/data/definitions/693.html)
- **Tags:** [CWE-693](https://agentprime.io/advisories/tag/cwe-693.md)
- **Published:** 5 Aug 2026
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 5 Aug 2026, 15:46 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `electron` (npm): affected `<39.8.9 || >=40.0.0-alpha.1, <40.9.2 || >=41.0.0-alpha.1, <41.2.2 || >=42.0.0-alpha.1, <42.0.0-beta.5`; fixed in `39.8.9`, `40.9.2`, `41.2.2`, `42.0.0-beta.5`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0029, the 21st percentile, on 9 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 27 Jul 2026, 23:48 UTC: [Published by the maintainers as a GitHub repository advisory](https://github.com/electron/electron/security/advisories/GHSA-h7rp-cf8h-j98x)

## Sources

- [GitHub Advisory Database: GHSA-h7rp-cf8h-j98x](https://github.com/advisories/GHSA-h7rp-cf8h-j98x)
- [OSV: GHSA-h7rp-cf8h-j98x](https://osv.dev/vulnerability/GHSA-h7rp-cf8h-j98x)
- <https://github.com/electron/electron/security/advisories/GHSA-h7rp-cf8h-j98x>
- <https://github.com/electron/electron>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-h7rp-cf8h-j98x>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-h7rp-cf8h-j98x/>. Everything for agents: <https://agentprime.io/llms.txt>.
