Incorrect Privilege Assignment Affecting electron package, versions >=44.0.0-alpha.1 <44.0.0-beta.5>=43.0.0-alpha.1 <43.4.1>=42.0.0-alpha.1 <42.9.2<41.10.6


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Privilege Assignment vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ELECTRON-20335494
  • published30 Sept 2026
  • disclosed29 Sept 2026
  • creditUnknown

Introduced: 29 Sep 2026

NewCVE-2026-102674  (opens in a new tab)
CWE-266  (opens in a new tab)

How to fix?

Upgrade electron to version 44.0.0-beta.5, 43.4.1, 42.9.2, 41.10.6 or higher.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Incorrect Privilege Assignment via WebContents::OpenURLFromTab in shell/browser/api/electron_api_web_contents.cc, which failed to propagate sandbox flags when a popup was opened by a sandboxed top-level frame. Previously, sandbox flag inheritance was conditional on the initiating frame having a parent, meaning a top-level frame carrying sandbox flags (via a Content-Security-Policy: sandbox header or a sandboxed iframe's popup) could open a new window without those restrictions applied. An attacker controlling content in such a frame can escape the sandbox and gain elevated access to the renderer context, achieving high confidentiality impact and limited integrity impact across the security boundary.

CVSS Base Scores

version 4.0
version 3.1