Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-h7rp-cf8h-j98x

Опубликовано: 05 авг. 2026
Источник: github
Github: Прошло ревью
CVSS3: 7.5

Описание

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

Impact

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. Apps that never load untrusted content in those windows are not affected.

Workarounds

There are no app side workarounds, you must update to a patched version of Electron.

Fixed Versions

  • 42.0.0-beta.5
  • 41.2.2
  • 40.9.2
  • 39.8.9

For more information

If you have any questions or comments about this advisory, email Electron at security@electronjs.org

Пакеты

Наименование

electron

npm
Затронутые версииВерсия исправления

< 39.8.9

39.8.9

Наименование

electron

npm
Затронутые версииВерсия исправления

>= 40.0.0-alpha.1, < 40.9.2

40.9.2

Наименование

electron

npm
Затронутые версииВерсия исправления

>= 41.0.0-alpha.1, < 41.2.2

41.2.2

Наименование

electron

npm
Затронутые версииВерсия исправления

>= 42.0.0-alpha.1, < 42.0.0-beta.5

42.0.0-beta.5

EPSS

Процентиль: 16%
0.00245
Низкий

7.5 High

CVSS3

Дефекты

CWE-693

Связанные уязвимости

CVSS3: 7.5
nvd
около 2 месяцев назад

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.

CVSS3: 7.5
debian
около 2 месяцев назад

Electron is a framework for writing cross-platform desktop application ...

CVSS3: 7.5
fstec
около 2 месяцев назад

Уязвимость механизма изоляции контекстов contextIsolation программной платформы для создания приложений Electron, позволяющая нарушителю получить полный доступ к системе

EPSS

Процентиль: 16%
0.00245
Низкий

7.5 High

CVSS3

Дефекты

CWE-693