Vulnerabilities/

Electerm Security Vulnerability: RCE via malicious SSH server filename in openFileWithEditor

Severity:
High

Description

A code execution (RCE) vulnerability exists in electerm’s SFTP open with system editor or “Edit with custom editor” feature. When a user opts to edit a file using open with system editor or open with a custom editor, the filename is passed directly into a command line without sanitization.

Recommendation

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

References

Related Issues

Tags:
npm
electerm
Anything's wrong? Let us know Last updated on May 08, 2026