electerm: Path Traversal in Zmodem and Trzsz Download Filename Handling
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| electerm | electerm | before 3.11.11 | 3.11.11 | Patch available | CNA |
| — | electerm (npm) | before 3.11.11 | 3.11.11 | Patch available | GHSA-38j7-23hf-9mhc |
- electerm Vendorelecterm Affected before 3.11.11 Fixed in 3.11.11 Patch available CNA
- electerm (npm) Vendor— Affected before 3.11.11 Fixed in 3.11.11 Patch available GHSA-38j7-23hf-9mhc
Remediation
- Fix · CNA electerm (electerm) Fixed in 3.11.11
- Fix · GHSA-38j7-23hf-9mhc electerm (npm) Fixed in 3.11.11 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-49253
- 2026-10-03 Alias added: GHSA-38j7-23hf-9mhc
References
More electerm vulnerabilities
- TI-2020-14501 An issue was discovered in Electerm 1.3.22, allows attackers to execute arbitrary code… CVSS 3.1CRITICAL 9.8
- TI-2026-30086 electerm has Command Injection Vulnerability via runMac function CVSS 3.1CRITICAL 9.8
- TI-2026-30087 electerm has Command Injection Vulnerability via runLinux function CVSS 3.1CRITICAL 9.8
- TI-2026-31998 Unvalidated shell.openExternal in electerm allows arbitrary protocol execution via terminal link click CVSS 3.1CRITICAL 9.6
- TI-2026-32907 electerm: Import unsafe bookmark data could lead to unsafe operation when click local type bookmark CVSS 4.0CRITICAL 9.4
- TI-2026-32001 electerm: dangerous code can be run through links or command line CVSS 4.0CRITICAL 9.4
Sources
- CVE-2026-49253 · CVE Program
- CVE-2026-49253 · NVD
- FIRST EPSS
- GHSA-38j7-23hf-9mhc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences