Read the docs
TI-2026-32000 Aliases CVE-2026-43943GHSA-q4p8-8j9m-8hxj

electerm: RCE via malicious SSH server filename in openFileWithEditor

Priority LOW 35CWE-78Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.

Summary

electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. Prior to version 3.7.9, a code execution (RCE) vulnerability exists in electerm's SFTP open with system editor or "Edit with custom editor" feature. When a user opts to edit a file using open with system editor or open with a custom editor, the filename is passed directly into a command line without sanitization. A malicious actor controlling the SSH server or user OS can exploit this by crafting a filename containing shell metacharacters. If a victim subsequently attempts to edit this file, the injected commands are executed on their machine with the user's privileges. This could allow the attacker to run arbitrary code, install malware, or move laterally within the network. This issue has been patched in version 3.7.9.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00165 5th percentileScored 2026-11-07
Fix Fixed electerm (electerm): 3.7.9electerm (npm): 3.7.9

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
electermelectermbefore 3.7.93.7.9Patch availableCNA
—electerm (npm)before 3.7.93.7.9Patch availableGHSA-q4p8-8j9m-8hxj
  • electerm Vendorelecterm Affected before 3.7.9 Fixed in 3.7.9 Patch available CNA
  • electerm (npm) Vendor— Affected before 3.7.9 Fixed in 3.7.9 Patch available GHSA-q4p8-8j9m-8hxj

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:electerm_project:electerm:*:*:*:*:*:*:*:*before 3.7.9Vulnerableelecterm
  • cpe:2.3:a:electerm_project:electerm:*:*:*:*:*:*:*:* Versions before 3.7.9 Vulnerable ·electerm

Remediation

  • Fix · CNA electerm (electerm) Fixed in 3.7.9
  • Fix · GHSA-q4p8-8j9m-8hxj electerm (npm) Fixed in 3.7.9 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-43943
  2. 2026-10-03 Alias added: GHSA-q4p8-8j9m-8hxj

References

  • TI-2020-14501 An issue was discovered in Electerm 1.3.22, allows attackers to execute arbitrary code… CVSS 3.1CRITICAL 9.8
  • TI-2026-30086 electerm has Command Injection Vulnerability via runMac function CVSS 3.1CRITICAL 9.8
  • TI-2026-30087 electerm has Command Injection Vulnerability via runLinux function CVSS 3.1CRITICAL 9.8
  • TI-2026-31998 Unvalidated shell.openExternal in electerm allows arbitrary protocol execution via terminal link click CVSS 3.1CRITICAL 9.6
  • TI-2026-32001 electerm: dangerous code can be run through links or command line CVSS 4.0CRITICAL 9.4
  • TI-2026-33147 electerm: Local code through electerm's single-instance socket CVSS 4.0CRITICAL 9.3
See all 9 →

Sources