CVE-2026-43942
MEDIUM 5.5CVSS 3.1Electerm'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
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | electerm_project | electermcpe:2.3:a:electerm_project:electerm:*:*:*:*:*:*:*:* |
<= 3.8.15 | |
| OSV | npm | electerm | <= 3.8.15 |
References
- https://github.com/electerm/electerm/security/advisories/GHSA-37j4-88rp-2f6h · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-43942 · ADVISORY
- https://github.com/electerm/electerm · PACKAGE
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)