electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. Prior to 3.15.120, electerm allows a malicious SFTP server to write attacker-controlled content outside the temporary directory because the server-controlled filename name used by editWithSystemEditor in src/client/components/sftp/file-item.jsx is interpolated into path.resolve without sanitization. This issue is fixed in version 3.15.120.
https://github.com/electerm/electerm/security/advisories/GHSA-4cgc-4vgf-q55c
https://github.com/electerm/electerm/releases/tag/v3.15.120
https://github.com/electerm/electerm/commit/32ea29365762b3451b1f2fcc0ef78104384db282