CVE-2026-73227 electerm's RDP clipboard file download may parse unsafe file name
A malicious RDP server can write files outside the intended directory in electerm due to unsanitized filename handling during clipboard downloads.
- 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-73227?
CVE-2026-73227 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 RDP server to write attacker-controlled content outside the selected save directory because the RDP clipboard download path in src/client/components/rdp/file-transfer.js passes the server-controlled CLIPRDR filename fileInfo.name to osResolve without sanitization. This issue is fixed in version 3.15.120.
Weakness: CWE-22
Which versions are affected by CVE-2026-73227?
How do I fix CVE-2026-73227?
No fix has been published for CVE-2026-73227 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-73227 being exploited?
There is no known exploitation of CVE-2026-73227 in the wild and no public exploit code.
Sources
Also known as GHSA-gm6q-5vpx-3mwf.