Security mailing lists by PureSourceCode

CVE-2026-49253

HIGH 7.1CVSS 3.1

electerm has Path Traversal in Zmodem and Trzsz Download Filename Handling

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
19 Aug 2026
Last modified
27 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-22
Also known as
GHSA-38j7-23hf-9mhc
Sources
NVDJSONOSV GHSA-38j7-23hf-9mhcJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
OSV GitHub CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm electerm < 3.11.11 3.11.11

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 19 Aug 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 2 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.