๐Ÿ” CVE Alert

CVE-2026-43942

MEDIUM 5.5

electerm: Full process.env exposed to renderer via window.pre.env in electerm

CVSS Score
5.5
EPSS Score
0.0%
EPSS Percentile
1th

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.

CWE CWE-200 CWE-312
Vendor electerm
Product electerm
Published May 8, 2026
Last Updated May 8, 2026
Stay Ahead of the Next One

Get instant alerts for electerm electerm

Be the first to know when new medium vulnerabilities affecting electerm electerm are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Affected Versions

electerm / electerm
<= 3.8.15

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/electerm/electerm/security/advisories/GHSA-37j4-88rp-2f6h