{"id":"CVE-2026-49253","revision":"0b9c667fc53147089749b2f77e59e747","records":[{"revision":"0b9c667fc53147089749b2f77e59e747","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-49253","aliases":[],"title":"electerm: Path Traversal in Zmodem and Trzsz Download Filename Handling","description":"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.","state":0,"publishedAt":"2026-08-19T14:31:55.683+00:00","modifiedAt":"2026-08-21T19:31:45.169+00:00","affected":[{"ecosystem":"Vendor product","name":"electerm","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"electerm\",\n                    \"product\": \"electerm\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 3.11.11\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","score":7.1,"severity":"HIGH"}],"references":["https://github.com/electerm/electerm/security/advisories/GHSA-38j7-23hf-9mhc","https://github.com/electerm/electerm/commit/fde153d677a170c5816368f6586647f3af4ef284","https://github.com/electerm/electerm/releases/tag/v3.11.11"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-49253","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-49253","identifiers":["CVE-2026-49253"]},"retained":false,"historicalAffected":[]}],"coverage":[]}