github trzsz/trzsz-ssh v0.1.29

latest release: dev
one hour ago

What's Changed

Security

  • Fixed a path traversal vulnerability in file reception by updating the trzsz-go dependency. When receiving files through trzsz from 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 DefaultDownloadPath globally in tssh.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/config for specific trusted hosts only.

    Similarly, avoid setting AllowedAutoUploadDirs globally in tssh.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 lrzsz package. When using it to receive files from remote servers, make sure your local lrz receive utility (commonly invoked as rz) is version 0.13.0 or later, or that your distribution's package includes the fix for CVE-2026-105840. This is a separate vulnerability in lrzsz and 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

Don't miss a new trzsz-ssh release

NewReleases is sending notifications on new releases.