CVE-2026-49255

HIGHPre-NVD 8.88.8
EchelonGraph scoreLOW confidence

This high-severity CVE scores 8.8 under the CNA's CVSS (NVD's own analysis pending). EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: cna:github_m
8.8
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: CVSS: 8.8Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

electerm has Command Injection in File System Operations (rmrf, mv, cp)

Impact

A command injection vulnerability exists in electerm's file system operations (rmrf, mv, cp) in src/app/lib/fs.js. These functions construct shell commands by interpolating file paths directly into command strings without escaping shell metacharacters.

Vulnerable functions:

  • rmrf() - Uses rm -rf "${path}" (double quotes, vulnerable to " injection)
  • mv() - Uses mv '${from}' '${to}' (single quotes, vulnerable to ' injection)
  • cp() - Uses cp -r "${from}" "${to}" (double quotes, vulnerable to " injection)

Attack scenario:

  • Attacker controls a malicious SSH/SFTP server
  • Server lists files with shell metacharacters in names (e.g., file"$(touch /tmp/pwned)")
  • Victim connects to the server and performs file operations (remote-to-local transfer, rename on conflict, etc.)
  • The malicious filename is passed to rmrf(), mv(), or cp() without sanitization
  • Shell metacharacters break out of the quoted argument and execute arbitrary commands

Impact includes:

  • Arbitrary command execution as the electerm desktop user
  • Data exfiltration, malware installation, or system compromise
  • Both POSIX (bash) and Windows (PowerShell) platforms are affected

Patches

  • https://github.com/electerm/electerm/commit/aa778818843b9c083bd711cd04644d102fcb5a42

Workarounds

If upgrading is not immediately possible, users can mitigate this vulnerability by:

  • Only connecting to trusted SSH/SFTP servers
  • Avoiding remote-to-local file transfers from untrusted sources
  • Not using the "rename on conflict" option when downloading folders from untrusted servers
  • Manually verifying filenames before performing file operations

CVSS v3
8.8
EG Score
8.8(low)
EPSS
KEV
Not listed

Published

July 2, 2026

Last Modified

July 2, 2026

Vendor Advisories for CVE-2026-49255(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Data Freshness Timeline

(refreshed 9× in last 7d / 9× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-06 19:30 UTCEG score recompute
  2. 2026-07-06 07:34 UTCEG score recompute
  3. 2026-07-05 19:38 UTCEG score recompute
  4. 2026-07-05 07:43 UTCEG score recompute
  5. 2026-07-04 19:47 UTCEG score recompute
  6. 2026-07-04 07:53 UTCEG score recompute
  7. 2026-07-03 19:57 UTCEG score recompute
  8. 2026-07-03 08:02 UTCEG score recompute
  9. 2026-07-02 20:07 UTCEG score recompute

Frequently asked(4)

What is CVE-2026-49255?
CVE-2026-49255 is a high vulnerability published on July 2, 2026. electerm has Command Injection in File System Operations (rmrf, mv, cp) Impact A command injection vulnerability exists in electerm's file system operations (rmrf, mv, cp) in src/app/lib/fs.js. These functions construct shell commands by interpolating file paths directly into command strings…
When was CVE-2026-49255 disclosed?
CVE-2026-49255 was first published in the National Vulnerability Database on July 2, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
What is the CVSS score of CVE-2026-49255?
CVE-2026-49255 has a CVSS v4.0 base score of 8.8 (CNA self-assessment; NVD's own analysis pending). The EG score is currently aggregating — additional source signals are being incorporated as they become available..
How do I remediate CVE-2026-49255?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-49255, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-49255

Explore →

Is Your Infrastructure Affected by CVE-2026-49255?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.