CVE-2026-49255
electerm is an open-sourced …
electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. Prior to 3.11.11, electerm constructs operating system commands in src/app/lib/fs.js by interpolating untrusted file paths into the rmrf(), mv(), and cp() functions. A malicious SSH or SFTP server can provide a filename containing quote characters and shell metacharacters, and a victim can cause that filename to reach the affected operation during remote-to-local transfer, conflict renaming, copying, moving, or removal. The generated `rm -rf`, mv, `cp -r`, PowerShell Remove-Item, Move-Item, or Copy-Item command can then interpret the filename as shell syntax. This allows arbitrary command execution with the electerm desktop user's privileges on POSIX and Windows systems, enabling data exfiltration, file modification, malware installation, or denial of service. This issue is fixed in version 3.11.11.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/electerm/electerm/security/advisories/GHSA-v5ff-xmfp-p245
- github.com/electerm/electerm/commit/aa778818843b9c083bd711cd04644d102fcb5a42
- github.com/advisories/GHSA-v5ff-xmfp-p245
- github.com/electerm/electerm/releases/tag/v3.11.11
- nvd.nist.gov/vuln/detail/CVE-2026-49255
- cve.org/CVERecord?id=CVE-2026-49255
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.