{"id":"CVE-2026-49253","aliases":["GHSA-38j7-23hf-9mhc"],"url":"https://o3.security/vulnerability/CVE-2026-49253","summary":"electerm: Path Traversal in Zmodem and Trzsz Download Filename Handling","details":"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-19T14:31:55.683Z","modified":"2026-09-11T03:30:42.100754210Z","cvss":{"score":7.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L"},"epss":{"score":0.00387,"percentile":0.32491,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"electerm","fixedVersion":"3.11.11"}],"fix":{"url":"https://github.com/electerm/electerm/commit/fde153d677a170c5816368f6586647f3af4ef284","label":"electerm/electerm@fde153d"},"references":[{"type":"WEB","url":"https://github.com/electerm/electerm/releases/tag/v3.11.11"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49253.json"},{"type":"ADVISORY","url":"https://github.com/electerm/electerm/security/advisories/GHSA-38j7-23hf-9mhc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49253"},{"type":"FIX","url":"https://github.com/electerm/electerm/commit/fde153d677a170c5816368f6586647f3af4ef284"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-11T03:30:42.100754210Z"}}