Vulnerability library
Security checkMay 12, 2026

electerm has Command Injection via runLinux funtion

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmelecterm

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Command Injection vulnerabilities in electerm:

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.

Recommendation

Update the electerm package to the latest compatible version. Followings are version details:

  • Affected version(s): < 3.3.8
  • Patched version(s): 3.3.8

References

Could your website be exposed too?

SmartScanner can check your website for electerm has Command Injection via runLinux funtion and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated May 12, 2026