Vulnerability library
Security checkJuly 02, 2026

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

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

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.

Recommendation

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

  • Affected version(s): <= 3.11.0
  • Patched version(s): 3.11.11

References

Could your website be exposed too?

SmartScanner can check your website for electerm has Command Injection in File System Operations (rmrf, mv, cp) and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated July 02, 2026