CVE-2026-86711
—Unvalidated Electron IPC in electerm Lets Renderer Scripts Run System Commands
electerm before 5.3.15 registers more than 40 main-process functions with an Electron IPC handler that performs no validation, with neither a function-name allowlist nor sender verification (CWE-749, exposed dangerous functions). If an attacker can execute arbitrary JavaScript in the renderer process, they can invoke exposed functions such as openFileWithEditor with attacker-controlled arguments, causing the main process to execute system commands. An attacker therefore escalates from renderer-level script execution to code execution on the host with high impact to confidentiality, integrity, and availability of the affected machine (CVSS 4.0 score 7.5, local attack vector, high attack complexity and attack requirements). All electerm users running any version prior to 5.3.15 are affected. No public proof-of-concept or in-the-wild exploitation is known; EPSS estimates roughly a 0.1% probability of exploitation within 30 days, and the flaw is not in CISA's KEV catalog.
What to do: Upgrade electerm to version 5.3.15 or later, which resolves the exposed IPC surface. Until patched, treat renderer-side script execution (e.g., malicious output or content processed in terminal sessions) as a route to host command execution and avoid processing untrusted input in unpatched installs; defenders should check installed electerm versions and prioritize updating workstation users.
| electerm (open-source Electron terminal project) electerm | all versions before 5.3.15 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
electerm before 5.3.15 exposes 40+ main-process functions through an unvalidated Electron IPC handler with no function-name allowlist or sender validation. Renderer-side script execution can invoke openFileWithEditor and other functions with arbitrary arguments to execute system commands in the main process.
- Weakness
- CWE-749
- Vector
- CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
In the news0 stories
No ingested article mentions this CVE yet.