# CVE-2026-43943: electerm: RCE via malicious SSH server filename in openFileWithEditor

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-05-08T02:55:51.285Z
- Modified: 2026-11-11T23:10:00.263Z
- Also known as: GHSA-q4p8-8j9m-8hxj
- Weaknesses: CWE-78, CWE-88
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- electerm electerm: < 3.7.9
- electerm (npm): before 3.7.9
- electerm_project electerm: before 3.7.9

## Every score

- GitHub_M: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/electerm/electerm/security/advisories/GHSA-q4p8-8j9m-8hxj> (patch, vendor-advisory, web)
- <https://github.com/electerm/electerm/commit/24ce7103e264cffe6eb5476c0506a2379e6f8333> (patch, web)
- <https://github.com/electerm/electerm/releases/tag/v3.7.9> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-43943> (advisory)
- <https://github.com/electerm/electerm> (package)

## Sources

- CVE List: [CVE-2026-43943](https://www.cve.org/CVERecord?id=CVE-2026-43943), CVE Terms of Use, modified 2026-05-08
- GitHub Advisory Database: [GHSA-q4p8-8j9m-8hxj](https://github.com/advisories/GHSA-q4p8-8j9m-8hxj), CC-BY-4.0, modified 2026-05-08
- NVD: [CVE-2026-43943](https://nvd.nist.gov/vuln/detail/CVE-2026-43943), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43943 · Whole record: https://cve.day/CVE-2026-43943.json · Rebuilt by cve.day 2026-11-25T22:59:20.954Z
