CVE-2026-73225

electerm: Path traversal in FTP/SFTP recursive folder download via unsanitized server filename

Published Aug 11, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
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 FTP or SFTP server to write attacker-controlled content outside the selected download directory because recursive transfers in src/client/components/file-transfer/transfer.jsx pass server-supplied file.name and folder.name values to resolve without sanitization. This issue is fixed in version 3.15.120.

Analysis

AI-generated

Technical impact

Electerm versions prior to 3.15.120 allow a malicious FTP or SFTP server to send file or folder names that include traversal characters. During a recursive download the client passes these unsanitized names directly to the file system resolve function, enabling creation or overwriting of files outside the intended download directory. This flaw is a classic path traversal (CWE‑22) that can lead to arbitrary local file write or replacement with attacker‑controlled content, potentially enabling the execution of malicious code on the client system.

Affected Systems

All installations of the electerm client running a version older than 3.15.120 are vulnerable. The issue is fixed in version 3.15.120 and newer, so any system still using an earlier release is affected.

Risk and Exploitability

With a CVSS score of 8.1 the vulnerability is judged as high severity. The EPSS score is below 1 %, indicating a very low likelihood of widespread exploitation at the time of analysis, and the vulnerability is not listed in CISA KEV. Exploitation requires the attacker to control an FTP/SFTP server that the client connects to and to initiate or request a recursive folder download. An attacker can then supply filenames that traverse directories and write or overwrite files in or outside the selected download folder, potentially compromising the client’s local file system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade electerm to version 3.15.120 or later, which removes the unsanitized filename handling in recursive transfers.
  • If an upgrade is not immediately possible, disable recursive folder download when connecting to untrusted servers or ensure that the destination directory is securely configured and monitored for unexpected file creation.
  • Implement local validation to sanitize any filenames received from the server before writing them to disk, rejecting paths that contain traversal sequences or absolute paths.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Electerm
Electerm electerm
Vendors & Products Electerm
Electerm electerm
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 FTP or SFTP server to write attacker-controlled content outside the selected download directory because recursive transfers in src/client/components/file-transfer/transfer.jsx pass server-supplied file.name and folder.name values to resolve without sanitization. This issue is fixed in version 3.15.120.
Title electerm: Path traversal in FTP/SFTP recursive folder download via unsanitized server 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'}

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 11, 2026, 7:04 PM
Reserved
Aug 11, 2026, 2:41 PM
Status
Deferred
Published
Aug 11, 2026, 7:18 PM
Modified
Sep 9, 2026, 8:55 PM