---
id: CVE-2026-49255
title: >-
  electerm is an open-sourced
  terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client
summary: >-
  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(), a…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
vendor: electerm
product: electerm
affected:
  - electerm <= 3.11.0
patched:
  - electerm 3.11.11
published: '2026-08-19'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T21:13:25.910'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-49255'
references:
  - url: >-
      https://github.com/electerm/electerm/commit/aa778818843b9c083bd711cd04644d102fcb5a42
    label: security-advisories@github.com
  - url: 'https://github.com/electerm/electerm/releases/tag/v3.11.11'
    label: security-advisories@github.com
  - url: >-
      https://github.com/electerm/electerm/security/advisories/GHSA-v5ff-xmfp-p245
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-v5ff-xmfp-p245'
tags:
  - nvd
  - ghsa
  - npm
epss: 0.00527
epssPercentile: 0.43597
ecosystem: npm
ingestedAt: '2026-07-02T19:41:50.937Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-49255)

Affected packages:

- `electerm <= 3.11.0`

Patched in:

- `electerm 3.11.11`

Source: https://github.com/advisories/GHSA-v5ff-xmfp-p245
