What's Changed
Security
-
Fixed a path traversal vulnerability in file reception by updating the
trzsz-godependency. When receiving files throughtrzszfrom a malicious or compromised remote server, crafted file or directory names could cause files to be written outside the selected download directory, potentially overwriting existing files that the current user has permission to modify. This issue only applies to file transfers from malicious or compromised servers; logging in to a trusted server is not affected. Upgrading to this version is recommended.Security recommendation: Avoid setting
DefaultDownloadPathglobally intssh.conf, as it applies to all servers. Leave it unset to preserve the destination selection dialog for every incoming transfer, giving you an opportunity to recognize and cancel unexpected transfers before any files are saved locally. If you need a default download path, configure it in~/.ssh/configfor specific trusted hosts only.Similarly, avoid setting
AllowedAutoUploadDirsglobally intssh.conf. A compromised server could request automatic uploads from the configured directories without further confirmation if it knows or can guess the absolute paths of the configured directories. Configure this option only for specific trusted hosts in~/.ssh/config, and allow access only to the directories each host actually needs.Zmodem security notice: tssh's Zmodem compatibility feature relies on the locally installed
lrzszpackage. When using it to receive files from remote servers, make sure your locallrzreceive utility (commonly invoked asrz) is version0.13.0or later, or that your distribution's package includes the fix for CVE-2026-105840. This is a separate vulnerability inlrzszand is not fixed by upgrading tssh.Thanks to @praneethseclab for reporting this vulnerability in trzsz-ssh, and to Praneeth Bala and Artiphishell, Inc. for their security research and responsible disclosure.
Full Changelog: v0.1.28...v0.1.29