# CVE-2026-49255: electerm: Command Injection in File System Operations (rmrf, mv, cp)

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2026-07-02T19:22:31.000Z
- Modified: 2026-10-27T13:10:00.360Z
- Also known as: GHSA-v5ff-xmfp-p245
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- electerm electerm: < 3.11.11
- electerm (npm): before 3.11.11

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/electerm/electerm/security/advisories/GHSA-v5ff-xmfp-p245> (web)
- <https://github.com/electerm/electerm/commit/aa778818843b9c083bd711cd04644d102fcb5a42> (web)
- <https://github.com/electerm/electerm/releases/tag/v3.11.11>
- <https://github.com/electerm/electerm> (package)

## Sources

- CVE List: [CVE-2026-49255](https://www.cve.org/CVERecord?id=CVE-2026-49255), CVE Terms of Use, modified 2026-08-25
- GitHub Advisory Database: [GHSA-v5ff-xmfp-p245](https://github.com/advisories/GHSA-v5ff-xmfp-p245), CC-BY-4.0, modified 2026-07-02
- NVD: [CVE-2026-49255](https://nvd.nist.gov/vuln/detail/CVE-2026-49255), Public domain, modified 2026-10-27

---

Page: https://cve.day/CVE-2026-49255 · Whole record: https://cve.day/CVE-2026-49255.json · Rebuilt by cve.day 2026-11-25T22:59:33.957Z
