CVE-2026-49253
Received Received - Intake

Path Traversal in Electerm Terminal Client

Vulnerability report for CVE-2026-49253, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-19

Last updated on: 2026-08-19

Assigner: GitHub, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-19
Last Modified
2026-08-19
Generated
2026-08-19
AI Q&A
2026-08-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
electerm electerm 3.11.11
electerm electerm to 3.11.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a path traversal issue in Electerm versions 3.11.0 and earlier. It occurs when the application uses remote-supplied filenames directly in path operations without sanitization during Zmodem and Trzsz file transfers. A malicious SSH server can send a filename with path traversal sequences like ../escaped.txt to write files outside the intended download directory.

Detection Guidance

To detect this vulnerability, check if your Electerm version is below 3.11.11. Run 'electerm --version' in the terminal. If the version is older, the system is vulnerable. Additionally, monitor file transfers from untrusted SSH servers, especially those using Zmodem or Trzsz protocols, for unexpected file writes outside the intended download directory.

Impact Analysis

An attacker could overwrite sensitive files on your system if you accept a malicious file transfer from an untrusted source. This could lead to data corruption, configuration changes, or denial of service by impairing system availability. The attack requires user interaction to accept the transfer.

Compliance Impact

This vulnerability could lead to unauthorized file modifications, potentially violating data integrity requirements under GDPR and HIPAA. If sensitive files are overwritten, it may result in non-compliance with these regulations due to unauthorized access or data tampering.

Mitigation Strategies

Immediately upgrade Electerm to version 3.11.11 or later. Avoid accepting file transfers from untrusted SSH servers. If upgrading is not possible, disable Zmodem and Trzsz file transfers in Electerm settings. Regularly audit file system changes and restrict write permissions to sensitive directories.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-49253. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart