Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Electerm Project | Electerm | <= 3.8.15 |
Related Weaknesses (CWE)
References
- https://github.com/electerm/electerm/security/advisories/GHSA-37j4-88rp-2f6hVendor AdvisoryMitigation
FAQ
What is CVE-2026-43942?
CVE-2026-43942 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 ...
How severe is CVE-2026-43942?
CVE-2026-43942 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-43942?
Check the references section above for vendor advisories and patch information. Affected products include: Electerm Project Electerm.