CVE-2026-43942 Details
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.
A vulnerability exists in Electerm versions through 3.8.15, where the getConstants() IPC handler serializes the entire process.env object and sends it to the renderer. This data is accessible as window.pre.env, which can be accessed by any JavaScript running in the renderer, such as through the DevTools console or a compromised webview context. An attacker with JavaScript execution in the renderer can easily exfiltrate these secrets to a remote server, potentially leading to cloud account compromise, supply chain attacks, and lateral movement.
Until a patch is released, it is advised to avoid launching Electerm with sensitive environment variables set. Instead, use shell scripts or a dedicated terminal profile that clears secrets before starting the application. Additionally, avoid installing plugins from untrusted sources and audit any installed plugins for network access. Keep the renderer context as secure as possible by disabling the remote debugging port and not pasting untrusted code into the DevTools console.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/electerm/electerm/security/advisories/GHSA-37j4-88rp-2f6h | [email protected] | MitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
| CWE-312 | Cleartext Storage of Sensitive Information | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| electerm project electerm | <= 3.8.15 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 8, 2026 | Initial Analysis | [email protected] |
| May 8, 2026 | New CVE Received | [email protected] |