CVE-2026-43943 json
electerm: RCE via malicious SSH server filename in openFileWithEditor
published 2026-05-08 6 mo ago modified 2026-06-17 4 mo ago also GHSA-q4p8-8j9m-8hxj , EUVD-2026-28515
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 5%
- public exploits
- 0
- none known
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.
Patch / fix
- npm electerm 3.7.9
- electerm_project electerm 3.7.9
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 6 mo ago
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 5% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | electerm | <3.7.9 |
3.7.9 |
Affected products
- electerm electerm
Classification
References
-
github.com
/electerm/electerm/commit/24ce7103e264cffe6eb5476c0506a2379e6f8333
web, patch
-
github.com
/electerm/electerm/security/advisories/GHSA-q4p8-8j9m-8hxj
web, patch, vendor-advisory
-
github.com
/electerm/electerm/releases/tag/v3.7.9
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-43943
advisory
-
github.com
/electerm/electerm
package
Sources
- CVE List CVE-2026-43943
- GitHub Advisory GHSA-q4p8-8j9m-8hxj
- NVD CVE-2026-43943
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.