{"id":"CVE-2026-41501","published":"2026-05-08T02:51:10Z","modified":"2026-05-08T11:19:54Z","title":"electerm has Command Injection Vulnerability via runLinux function","vendor":"electerm","product":"electerm","tier":"tail","description":{"text":"electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. Prior to version 3.3.8, a command injection vulnerability exists in github.com/elcterm/electerm/npm/install.js:130. The runLinux() function appends attacker-controlled remote version strings directly into an exec(\"rm -rf ...\") command without validation. This issue has been patched in version 3.3.8.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01286,"percentile":0.70868,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://github.com/electerm/electerm/security/advisories/GHSA-8x35-hph8-37hq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/electerm/electerm/commit/59708b38c8a52f5db59d7d4eff98e31d573128ee","tags":["x_refsource_MISC"]},{"url":"https://github.com/electerm/electerm/releases/tag/v3.3.8","tags":["x_refsource_MISC"]}],"priority":{"score":21.0,"factors":[{"name":"EPSS percentile","points":14.17},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"electerm","affectedVersions":[{"vendor":"electerm","product":"electerm","versions":["< 3.3.8"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-05-08T11:19:45.771219Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"electerm","vulnerableRanges":["<3.3.8"],"patched":["3.3.8"],"from":["GHSA-8x35-hph8-37hq"],"provenance":"source"}],"summary":{"text":"The electerm desktop terminal/SSH/SFTP client has a command injection flaw in the runLinux() function of its npm/install.js installer script (around line 130), where attacker-controlled remote version strings are concatenated without validation into an rm -rf shell command run via exec. An attacker who can supply a crafted version string that the installer retrieves from a remote source can inject arbitrary shell commands, with no authentication or user interaction required, in affected versions prior to 3.3.8.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:01:35Z"},"euvd":{"id":"EUVD-2026-28497","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-41500","published":"2026-05-08","fixed":"3.3.8","kev":false},{"cve":"CVE-2026-41501","published":"2026-05-08","fixed":"3.3.8","kev":false},{"cve":"CVE-2026-43943","published":"2026-05-08","fixed":"3.7.9","kev":false,"link":{"from":"CVE-2026-41501","to":"CVE-2026-43943","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electerm","fromFixed":"3.3.8","toFixed":"3.7.9","daysApart":0}]}},{"cve":"CVE-2026-43940","published":"2026-05-08","fixed":"3.7.16","kev":false},{"cve":"CVE-2026-43944","published":"2026-05-08","fixed":"3.8.8","kev":false}],"package":"npm:electerm"}}