Description
electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. Prior to 3.11.11, electerm uses remote-supplied filenames directly with path.join() while receiving Zmodem and Trzsz transfers. In src/app/server/zmodem.js, prepareReceiveFile() joins the filename to the user-selected save path, and in src/app/server/trzsz.js, getUniqueFilePath(), the openSaveFile() callback, and the savedFilePaths mapping construct destinations without sanitization. A malicious SSH server or remote shell can provide a filename containing traversal components such as ../escaped.txt or ../../.bashrc. When the victim accepts the transfer and selects a download directory, electerm can write outside that directory and overwrite files accessible to the desktop user, potentially changing sensitive configuration or impairing availability. This issue is fixed in version 3.11.11.
Published: 2026-08-19
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a path traversal flaw in the Electerm terminal client that lets a malicious SSH server or remote shell supply a filename containing traversal components such as ../ or ../../ during Zmodem or Trzsz file transfers. Electerm concatenates the remote‑supplied filename with the user‑selected download directory using path.join() without sanitization, enabling creation of files outside the intended destination. An attacker can use this flaw to overwrite sensitive configuration files or other system files accessible to the desktop user, thereby compromising confidentiality, integrity, and availability of the affected system.

Affected Systems

Affected products are the Electerm terminal client. Versions prior to 3.11.11 are vulnerable because the code concatenates remote‑supplied filenames with the local save path without sanitization. Version 3.11.11 and later contain the fix that sanitizes or normalizes the path. All platforms supported by Electerm that use Zmodem or Trzsz file transfers are potentially impacted.

Risk and Exploitability

The CVSS score of 7.1 indicates a high severity vulnerability, and its EPSS score of < 1% shows a low yet non‑zero likelihood of exploitation observed in the wild. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires an attacker who controls a remote SSH server or remote shell that initiates a Zmodem or Trzsz transfer and a user who accepts the file. By providing a crafted filename, the attacker can cause Electerm to write arbitrary files outside the chosen directory, potentially overwriting critical configuration files or other user data and disrupting system availability.

Generated by OpenCVE AI on August 20, 2026 at 15:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade electerm to version 3.11.11 or later
  • If upgrading is not feasible, prevent use of Zmodem and Trzsz transfers or manually reject files with path traversal sequences before accepting them
  • Configure a dedicated download directory with read/write permissions limited to the user and avoid saving files to sensitive system directories

Generated by OpenCVE AI on August 20, 2026 at 15:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-38j7-23hf-9mhc electerm has Path Traversal in Zmodem and Trzsz Download Filename Handling
History

Fri, 21 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 19 Aug 2026 16:15:00 +0000

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

Wed, 19 Aug 2026 14:45: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.11.11, electerm uses remote-supplied filenames directly with path.join() while receiving Zmodem and Trzsz transfers. In src/app/server/zmodem.js, prepareReceiveFile() joins the filename to the user-selected save path, and in src/app/server/trzsz.js, getUniqueFilePath(), the openSaveFile() callback, and the savedFilePaths mapping construct destinations without sanitization. A malicious SSH server or remote shell can provide a filename containing traversal components such as ../escaped.txt or ../../.bashrc. When the victim accepts the transfer and selects a download directory, electerm can write outside that directory and overwrite files accessible to the desktop user, potentially changing sensitive configuration or impairing availability. This issue is fixed in version 3.11.11.
Title electerm: Path Traversal in Zmodem and Trzsz Download Filename Handling
Weaknesses CWE-22
References
Metrics cvssV3_1

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


Subscriptions

Electerm Electerm
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-21T19:31:45.169Z

Reserved: 2026-05-28T14:33:01.179Z

Link: CVE-2026-49253

cve-icon Vulnrichment

Updated: 2026-08-21T19:31:41.256Z

cve-icon NVD

Status : Received

Published: 2026-08-19T15:17:06.747

Modified: 2026-08-21T20:16:35.953

Link: CVE-2026-49253

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T15:45:03Z

Weaknesses
  • CWE-22

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