Cyber Resilience

CVE-2026-34775

Electronjs Electron ≤ 38.8.6

Published
04 April 2026
Modified
24 July 2026
Patch / advisory
CVSS Score v3.1 6.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
EPSS Score 0.0029 21th percentile
Risk Priority 50 floored blend · peak EPSS

Summary

CVE-2026-34775 is a medium-severity Improper Isolation or Compartmentalization (CWE-653) vulnerability in Electronjs Electron. Its CVSS base score is 6.8 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Escape to Host (T1611); ranked at the 21th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SC-2 (Separation of System and User Functionality) and SC-3 (Security Function Isolation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-34775 is a vulnerability in the Electron framework, used for developing cross-platform desktop applications with JavaScript, HTML, and CSS. Prior to versions 38.8.6, 39.8.4, 40.8.4, and 41.0.0, the nodeIntegrationInWorker webPreference is not correctly scoped in all configurations. In certain process-sharing scenarios, this allows workers spawned in frames configured with nodeIntegrationInWorker: false to still receive Node.js integration. Only Electron applications that enable nodeIntegrationInWorker are affected; those that do not use this option remain unaffected.

Remote attackers with no privileges can exploit this issue via network access, though it requires high attack complexity and user interaction, as indicated by its CVSS v3.1 score of 6.8 (AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N) and association with CWE-653. Exploitation involves scenarios where a user interacts with malicious content in an affected application, potentially enabling the attacker to inject or spawn workers that gain unauthorized Node.js integration despite frame-level restrictions. Successful exploitation leads to high confidentiality and integrity impacts, such as unauthorized access to Node.js APIs.

The Electron security advisory (GHSA-xwr5-m59h-vwqr) at https://github.com/electron/electron/security/advisories/GHSA-xwr5-m59h-vwqr confirms the patch in versions 38.8.6, 39.8.4, 40.8.4, and 41.0.0, resolving the scoping issue for nodeIntegrationInWorker. Mitigation involves updating to these patched versions and reviewing application configurations to ensure nodeIntegrationInWorker is enabled only where necessary.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.4, 40.8.4, and 41.0.0, the nodeIntegrationInWorker webPreference was not correctly scoped in all configurations. In certain process-sharing scenarios, workers spawned in frames…

more

configured with nodeIntegrationInWorker: false could still receive Node.js integration. Apps are only affected if they enable nodeIntegrationInWorker. Apps that do not use nodeIntegrationInWorker are not affected. This issue has been patched in versions 38.8.6, 39.8.4, 40.8.4, and 41.0.0.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1611 Escape to Host Privilege Escalation
Adversaries may break out of a container or virtualized environment to gain access to the underlying host.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1134 Access Token Manipulation Stealth
Adversaries may modify access tokens to operate under a different user or system security context to perform actions and bypass access controls.
T1548 Abuse Elevation Control Mechanism Privilege Escalation
Adversaries may circumvent mechanisms designed to control privilege elevation to gain higher-level permissions.
T1548.001 Setuid and Setgid Privilege Escalation
An adversary may abuse configurations where an application has the setuid or setgid bits set in order to get code running in a different (and possibly more privileged) user’s context.
T1055 Process Injection Stealth
Adversaries may inject code into processes in order to evade process-based defenses as well as possibly elevate privileges.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-34766Same product: Electronjs Electron
CVE-2026-34774Same product: Electronjs Electron
CVE-2026-34770Same product: Electronjs Electron
CVE-2026-34771Same product: Electronjs Electron
CVE-2026-34764Same product: Electronjs Electron
CVE-2026-34772Same product: Electronjs Electron
CVE-2026-34776Same product: Electronjs Electron
CVE-2023-39956Same product: Electronjs Electron
CVE-2026-34773Same product: Electronjs Electron
CVE-2026-34778Same product: Electronjs Electron

Affected Assets

electronjs
electron
41.0.0 · ≤ 38.8.6 · 39.0.0 — 39.8.4 · 40.0.0 — 40.8.4

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 8 hardening rules · 7 OS baselines
Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

Security function isolation is the canonical mechanism for protecting higher-privilege compartments.

Process isolation maintains separate execution domains so one process cannot affect another’s privilege level.

Explicit separation of user and management functionality implements the required compartmentalization.

System partitioning creates distinct domains that enforce isolation between differently privileged components.

Access enforcement directly requires approved authorizations to be applied to compartmentalized resources.

Information flow enforcement structurally prevents unauthorized mixing of data or functions across privilege boundaries.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.AA-05 full match
prevents

Least-privilege policy directly enforces separation of privilege levels and access rights.

PR.IR-01 mostly match
prevents

Network and environment segmentation implements the isolation required to prevent unauthorized cross-compartment access.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

degrades

Segregation of duties directly enforces separation of privilege levels and functions.

prevents

Network segregation is a classic technical control for isolating different privilege domains.

prevents

Secure system architecture principles explicitly call for isolation and least-privilege boundaries.

prevents

Separation of development, test and production environments is a direct application of compartmentalization.

degrades

Access control policies establish the boundaries that isolation must enforce.

degrades

Managing access rights is the operational mechanism for compartmentalizing privileges.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).

Oracle Linux 9 (1 rule)
  • V-271452 OL 9 must use a Linux Security Module configured to enforce limits on system services. prevents CWE-653
RHEL 9 (2 rules)
  • V-258078 RHEL 9 must use a Linux Security Module configured to enforce limits on system services. prevents CWE-653
  • V-272496 RHEL 9 must elevate the SELinux context when an administrator calls the sudo command. prevents CWE-653
Windows 10 (1 rule)
  • V-220712 Only accounts responsible for the administration of a system must have Administrator rights on the system. prevents CWE-653
Windows 11 (1 rule)
  • V-253269 Only accounts responsible for the administration of a system must have Administrator rights on the system. prevents CWE-653
Windows Server 2016 (1 rule)
  • V-225007 Only administrators responsible for the member server or standalone or nondomain-joined system must have Administrator rights on the system. prevents CWE-653

References