{"id":"CVE-2026-49253","title":"electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client","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/z…","severity":"high","cvss":7.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","cwe":["CWE-22"],"vendor":"electerm","product":"electerm","affected":["electerm <= 3.11.0"],"patched":["electerm 3.11.11"],"published":"2026-08-19","updated":"2026-09-09","sourceUpdated":"2026-09-09T21:13:25.910","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-49253","references":[{"url":"https://github.com/electerm/electerm/commit/fde153d677a170c5816368f6586647f3af4ef284","label":"security-advisories@github.com"},{"url":"https://github.com/electerm/electerm/releases/tag/v3.11.11","label":"security-advisories@github.com"},{"url":"https://github.com/electerm/electerm/security/advisories/GHSA-38j7-23hf-9mhc","label":"security-advisories@github.com"},{"url":"https://github.com/electerm/electerm/security/advisories/GHSA-38j7-23hf-9mhc","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://github.com/advisories/GHSA-38j7-23hf-9mhc"}],"tags":["nvd","ghsa","npm"],"epss":0.00387,"epssPercentile":0.32537,"ecosystem":"npm","ingestedAt":"2026-07-02T19:41:50.941Z","slug":"CVE-2026-49253","body":"## Overview\n\nelecterm 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-49253)\n\nAffected packages:\n\n- `electerm <= 3.11.0`\n\nPatched in:\n\n- `electerm 3.11.11`\n\nSource: https://github.com/advisories/GHSA-38j7-23hf-9mhc","depth":"twilight","depthScore":39,"depthScoreParts":{"impact":39.1,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}