{"cve":"CVE-2026-49255","nvd":{"published":"2026-08-19T15:17:06.893","modified":"2026-10-27T13:10:00.360","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-78"],"references":["https://github.com/electerm/electerm/commit/aa778818843b9c083bd711cd04644d102fcb5a42","https://github.com/electerm/electerm/releases/tag/v3.11.11","https://github.com/electerm/electerm/security/advisories/GHSA-v5ff-xmfp-p245"],"products":[],"source":"nvd","synced_at":"2026-10-27T13:36:07.289888057+00:00"},"epss":{"cve":"CVE-2026-49255","score":0.0079,"percentile":0.55989,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-v5ff-xmfp-p245","url":"https://osv.dev/vulnerability/GHSA-v5ff-xmfp-p245","summary":"electerm has Command Injection in File System Operations (rmrf, mv, cp)","modified":"2026-07-02T19:41:33.135414Z","packages":[{"ecosystem":"npm","name":"electerm","purl":"pkg:npm/electerm","ranges":["<3.11.11"],"fixed":["3.11.11"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}