Security mailing lists by PureSourceCode

CVE-2026-43942

MEDIUM 5.5CVSS 3.1

Electerm's full process.env exposed to renderer via window.pre.env

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.

Published
8 May 2026
Last modified
11 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-200CWE-312
Also known as
GHSA-37j4-88rp-2f6h
Sources
NVDJSONOSV GHSA-37j4-88rp-2f6hJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD electerm_project electerm
cpe:2.3:a:electerm_project:electerm:*:*:*:*:*:*:*:*
<= 3.8.15
OSV npm electerm <= 3.8.15

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 8 May 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 8 May 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.