Electerm fixes SFTP path traversal allowing arbitrary file writes via malicious filenames
Vulnerability Disclosure · 2 sources · Updated 3mo ago · First seen Aug 11, 2026

Electerm patched a high-severity path traversal flaw, tracked as CVE-2026-73223, that could let a malicious SFTP server write attacker-controlled content outside the application's temporary directory. The bug affected versions prior to 3.15.120 and was caused by unsanitized server-controlled filenames being passed into path.resolve inside the editWithSystemEditor workflow in src/client/components/sftp/file-item.jsx. The issue is classified as CWE-22 and carries a CVSS 3.1 score vector of AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H, indicating high impact to integrity and availability with user interaction required.
A related GitHub commit shows Electerm added filename sanitization in its FTP/SFTP transfer logic, importing a sanitizeFilename helper and applying it to file and folder names before resolving destination paths. That remediation hardens transfer and folder-creation operations against unsafe path handling and aligns with the vendor's fix in version 3.15.120. Organizations using Electerm for remote access or file transfer should upgrade to the patched release and treat untrusted SFTP servers as a potential delivery vector for arbitrary file writes.


