CVE-2026-49255
HIGH 8.8CVSS 3.1electerm has Command Injection in File System Operations (rmrf, mv, cp)
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.
- Published
- 19 Aug 2026
- Last modified
- 27 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-78
- Also known as
- GHSA-v5ff-xmfp-p245
- Sources
- NVDJSONOSV GHSA-v5ff-xmfp-p245JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | electerm | < 3.11.11 | 3.11.11 |
References
- https://github.com/electerm/electerm/commit/aa778818843b9c083bd711cd04644d102fcb5a42 · WEB
- https://github.com/electerm/electerm/releases/tag/v3.11.11
- https://github.com/electerm/electerm/security/advisories/GHSA-v5ff-xmfp-p245 · WEB
- https://github.com/electerm/electerm · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 19 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Jul 2026)