CVE-2026-73224

Electerm check folder size function may get attacked by unsafe folder name

Published Aug 11, 2026 CVSS 3.1 · 8.8 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 execute arbitrary commands when a user downloads a crafted folder and invokes Properties and Calculate Size because calcLocal in src/client/components/sftp/file-info-modal.jsx inserts the server-controlled folder name into a du -sh shell command without safely escaping single quotes. This issue is fixed in version 3.15.120.

Analysis

AI-generated

Technical impact

Electerm's calculate size feature builds an unescaped shell command from the folder name, allowing a malicious FTP or SFTP host to execute arbitrary shell commands on the client when a user selects an attacker‑controlled folder. This is a classic command injection flaw (CWE‑78) that can lead to local code execution with the privileges of the user running the application.

Affected Systems

The bug exists in all Electerm releases earlier than 3.15.120. Users must verify that their installed version is at least 3.15.120.

Risk and Exploitability

The CVSS score of 8.8 classifies it as high severity. EPSS indicates a very low probability of exploitation, and the issue is not present in CISA's KEV catalog. Nevertheless, the flaw can be triggered only when a user explicitly opens properties on a folder supplied by a malicious server, so the attack vector is local via the client interface. Adequate patching or avoidance of the vulnerable operation mitigates the risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Electerm to version 3.15.120 or later, which sanitizes the folder name before executing the du command.
  • For environments that cannot immediately upgrade, do not use the Properties → Calculate Size feature on folders retrieved from untrusted FTP or SFTP servers.
  • As a temporary workaround, disable the calculate size feature or modify the source to escape single quotes; however, the official fix is the upgrade.

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 execute arbitrary commands when a user downloads a crafted folder and invokes Properties and Calculate Size because calcLocal in src/client/components/sftp/file-info-modal.jsx inserts the server-controlled folder name into a du -sh shell command without safely escaping single quotes. This issue is fixed in version 3.15.120.
Title Electerm check folder size function may get attacked by unsafe folder name
Weaknesses CWE-78
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

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