CVE-2026-43942
Medium · 5.5CVSS
5.5
EPSS
0.1%
Published
May 8, 2026
CISA due date
—
The record
electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. In versions 3.8.15 and prior, the getConstants() IPC handler in src/app/lib/ipc-sync.js serialises the entire process.env object and sends it to the renderer. The data is stored as window.pre.env and is accessible from any JavaScript running in the renderer (e.g., via the DevTools console or a compromised webview context). An attacker who achieves any JavaScript execution within the renderer can trivially exfiltrate these secrets to a remote server, leading to cloud account compromise, supply chain attacks, and lateral movement. At time of publication, there are no publicly available patches.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | electerm | 0 | No fix |
Related vulnerabilities
- GHSA-37j4-88rp-2f6h Electerm's full process.env exposed to renderer via window.pre.env Same vulnerability
- CVE-2026-45353 electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. Also affects electerm
- CVE-2026-45787 electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. Also affects electerm
- CVE-2026-45058 electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. Also affects electerm
- GHSA-g29v-q6h7-76wh electerm's encrypt method not safe enough Also affects electerm
- GHSA-7p5m-v798-f8vv Electerm Local code through electerm's single-instance socket Also affects electerm
- GHSA-jgg9-rw32-44pj Electerm: Importing unsafe bookmark data could lead to unsafe operation when clicking… Also affects electerm
- GHSA-mpm8-cx2p-626q Electerm users can run dangrous code through link or command line Also affects electerm