CVE-2026-43942

MEDIUM

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

Title source: cna
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

CVSS v3 5.5
EPSS 0.0000
EPSS Percentile 0.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-200 CWE-312
Status published
Products (3)
electerm/electerm <= 3.8.15
electerm_project/electerm < 3.8.15
npm/electerm 0 - 3.8.15npm
Published May 08, 2026
Tracked Since May 08, 2026