CVE-2026-73223 electerm: Path traversal in editWithSystemEditor temp file path via unsanitized SFTP filename
A malicious SFTP server can write files outside the temporary directory in electerm, potentially leading to code execution or data modification.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-73223?
CVE-2026-73223 is a high-severity path traversal vulnerability in electerm, published on 11 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-22
Which versions are affected by CVE-2026-73223?
How do I fix CVE-2026-73223?
No fix has been published for CVE-2026-73223 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-73223 being exploited?
There is no known exploitation of CVE-2026-73223 in the wild and no public exploit code.
Sources
Also known as GHSA-4cgc-4vgf-q55c.