# CVE-2026-41501: electerm has Command Injection Vulnerability via runLinux function

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.29%, higher than 71% of CVEs (2026-12-02)
- Published: 2026-04-24T20:45:13.000Z
- Modified: 2026-11-11T23:10:00.263Z
- Also known as: GHSA-8x35-hph8-37hq
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- electerm electerm: < 3.3.8
- electerm (npm): before 3.3.8
- electerm_project electerm: before 3.3.8

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/electerm/electerm/security/advisories/GHSA-8x35-hph8-37hq> (patch, vendor-advisory, web)
- <https://github.com/electerm/electerm/commit/59708b38c8a52f5db59d7d4eff98e31d573128ee> (patch, web)
- <https://github.com/electerm/electerm/releases/tag/v3.3.8> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41501> (advisory)
- <https://github.com/electerm/electerm> (package)

## Sources

- CVE List: [CVE-2026-41501](https://www.cve.org/CVERecord?id=CVE-2026-41501), CVE Terms of Use, modified 2026-05-08
- GitHub Advisory Database: [GHSA-8x35-hph8-37hq](https://github.com/advisories/GHSA-8x35-hph8-37hq), CC-BY-4.0, modified 2026-05-12
- NVD: [CVE-2026-41501](https://nvd.nist.gov/vuln/detail/CVE-2026-41501), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-41501 · Whole record: https://cve.day/CVE-2026-41501.json · Rebuilt by cve.day 2026-11-25T22:59:20.944Z
