Description
electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. Prior to 3.15.120, electerm allows a malicious SFTP server to write attacker-controlled content outside the temporary directory because the server-controlled filename name used by editWithSystemEditor in src/client/components/sftp/file-item.jsx is interpolated into path.resolve without sanitization. This issue is fixed in version 3.15.120.
Published: 2026-08-11
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Electerm, an open‑source terminal client, uses an SFTP filename to create a temporary file for the editWithSystemEditor function. The filename is interpolated into a path.resolve call without any sanitization, enabling a malicious SFTP server to cause the client to write files outside the intended temporary directory. This path traversal flaw falls under CWE‑22 and can lead to arbitrary file creation or overwrite on the victim’s local machine, potentially enabling further compromise or privilege escalation if the written files are executable or placed in sensitive locations.

Affected Systems

All electerm releases prior to version 3.15.120 are affected. Versions 3.15.120 and later contain the fix; users of older releases should upgrade or otherwise restrict their usage of SFTP features.

Risk and Exploitability

The vulnerability has a CVSS score of 8.1, indicating high severity. The EPSS score is below 1 %, suggesting a low probability of exploitation in the wild, and it is not listed in CISA’s KEV catalog. The most likely attack vector is a malicious SFTP server that provides a crafted filename; the attacker can target any machine running a vulnerable electerm instance that connects to such a server.

Generated by OpenCVE AI on August 12, 2026 at 20:31 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update electerm to the patched version 3.15.120 or later.
  • If an upgrade cannot be performed immediately, avoid connecting to unknown or untrusted SFTP servers and disable the editWithSystemEditor feature when using SFTP.
  • Employ OS‑level or container isolation to run electerm so that even if a file is written outside the temporary directory, it cannot affect critical system paths.

Generated by OpenCVE AI on August 12, 2026 at 20:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 12 Aug 2026 23:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 12 Aug 2026 13:45:00 +0000

Type Values Removed Values Added
First Time appeared Electerm
Electerm electerm
Vendors & Products Electerm
Electerm electerm

Tue, 11 Aug 2026 19:00:00 +0000

Type Values Removed Values Added
Description electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. Prior to 3.15.120, electerm allows a malicious SFTP server to write attacker-controlled content outside the temporary directory because the server-controlled filename name used by editWithSystemEditor in src/client/components/sftp/file-item.jsx is interpolated into path.resolve without sanitization. This issue is fixed in version 3.15.120.
Title electerm: Path traversal in editWithSystemEditor temp file path via unsanitized SFTP filename
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H'}


Subscriptions

Electerm Electerm
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-12T22:13:20.109Z

Reserved: 2026-08-11T14:41:20.122Z

Link: CVE-2026-73223

cve-icon Vulnrichment

Updated: 2026-08-12T22:07:43.131Z

cve-icon NVD

Status : Received

Published: 2026-08-11T19:18:51.880

Modified: 2026-08-12T23:17:23.653

Link: CVE-2026-73223

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T20:45:08Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')