Description
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.
References7
- github.com/electerm/electerm
- github.com/electerm/electerm/blob/v5.3.5/src/app/lib/ipc.js
- github.com/electerm/electerm/commit/b1f880534b8ae066c5d25bbf291…
- github.com/electerm/electerm/issues/4509
- github.com/electerm/electerm/releases/tag/v5.3.15
- github.com/electerm/electerm/security/advisories/GHSA-qc8j-6jr2…
- www.vulncheck.com/advisories/electerm-before-5.3.15-arbitrary-c…
Metrics
- CVSS 3.1
-
7.4
HIGH
Score source: CNA
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 4.0
-
7.5
HIGH
Score source: CNA
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 - EPSS — exploit probability
- 0% percentile: 12 · as of 3 November 2026
- CWE
- CWE-749
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.