CVE-2026-73223: electerm path traversal via unsanitized SFTP filename

CVE-2026-73223 · Severity: high · CVSS 8.1 · Published 2026-08-11

electerm is a terminal and file transfer client that supports SSH, SFTP, and multiple other protocols. A malicious SFTP server can trick electerm into writing files outside the intended temporary directory by supplying specially crafted filenames that bypass path validation, potentially allowing arbitrary file writes to the user's system.

Quick answers

Is CVE-2026-73223 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-73223 being exploited in the wild.
How severe is CVE-2026-73223?
High severity, with a CVSS score of 8.1, published 11 August 2026.
Which products and versions are affected?
electerm electerm prior to 3.15.120.
Is there a fix for CVE-2026-73223?
A patch was published on 2026-07-11: Version 3.15.120 released with fix Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-73223 attacked?
It is attacked over the network.
Am I affected by CVE-2026-73223?
Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

This is a path traversal vulnerability in electerm's SFTP file handling. The root cause is in the editWithSystemEditor function in src/client/components/sftp/file-item.jsx, where filenames supplied by the SFTP server are directly interpolated into path.resolve() without sanitization. An attacker controlling a malicious SFTP server can craft filenames with path traversal sequences (e.g., "../../../") to bypass the temporary directory boundary. When the user edits a file with a custom editor, the malicious filename allows writing or overwriting arbitrary files on the client system. The attack requires network interaction with a malicious SFTP server and user interaction (selecting a file to edit). The vulnerability is fixed in version 3.15.120 by parsing and sanitizing unsafe filenames before path resolution.

Affected products

  • electerm electerm prior to 3.15.120

Timeline

  • 2026-08-11: disclosed
  • 2026-07-11: patched: Version 3.15.120 released with fix
  • 2026-08-11: other: Published on NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.