Quick answers
- Is CVE-2026-49255 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-49255 being exploited in the wild.
- How severe is CVE-2026-49255?
- High severity, with a CVSS score of 8.8, published 19 August 2026.
- Which products and versions are affected?
- electerm (npm) <= 3.11.0, SEMVER:introduced=0,fixed=3.11.11.
- Is there a fix for CVE-2026-49255?
- Yes. electerm (npm): upgrade to 3.11.11 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-49255 attacked?
- It is attacked over the network, in a network appliance.
- Am I affected by CVE-2026-49255?
- Check whether you run electerm (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- electerm (npm): upgrade to 3.11.11 or later
npm install electerm@3.11.11
Technical details
A command injection vulnerability exists in electerm's file system operations (rmrf, mv, cp) within src/app/lib/fs.js. The application constructs shell commands by interpolating file paths directly into command strings using double or single quotes without proper escaping of shell metacharacters. An attacker controlling a malicious SSH/SFTP server can provide filenames containing shell breakout sequences (e.g., $(command)). When a victim performs file operations like transfers or renames on these files, the injected commands are executed with the privileges of the electerm user. This affects both POSIX (bash) and Windows (PowerShell) platforms. The issue is patched in version 3.11.11.
Affected products
- electerm electerm <= 3.11.0
Identifiers
- CVE-2026-49255
- GHSA-v5ff-xmfp-p245
Timeline
- 2026-05-29: disclosed
- 2026-07-02: advisory: GHSA-v5ff-xmfp-p245 published
- 2026-07-02: patched