Skip to main content

electerm CVE-2026-73223

| EUVDEUVD-2026-56907 HIGH
Path Traversal (CWE-22)
2026-08-11 GitHub_M
8.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    User connects to attacker-controlled SFTP server
  2. Delivery
    Server presents file with path-traversal filename (e.g., ../../.ssh/authorized_keys)
  3. Exploit
    User selects 'Edit with System Editor' in electerm
  4. Execution
    electerm resolves crafted filename outside temp directory
  5. Persist
    Attacker-controlled content written to targeted filesystem path
  6. Impact
    Overwrite of SSH keys, shell configs, or critical files achieves persistence or disruption

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Three explicit conditions must all be met for exploitation to succeed: first, the victim must actively connect to an attacker-controlled SFTP server or have their legitimate SFTP session intercepted via man-in-the-middle; second, the victim must specifically invoke the 'Edit with System Editor' function on a file served by the malicious server - mere directory browsing, file downloading, or other SFTP operations do not trigger the vulnerable code path in editWithSystemEditor; third, the victim must be running electerm below version 3.15.120. The CVSS UI:R metric formally confirms that user interaction is non-negotiable for exploitation. The CVSS C:N metric indicates that file content on the victim system is not exfiltrated - the attack is write-only, limiting it to integrity and availability impacts. Exploitation is entirely ruled out for users who do not use the system editor integration feature, regardless of which servers they connect to.

Impact

CVSS 8.1 High is broadly justified by the arbitrary write primitive, but real-world risk is meaningfully lower than the raw score implies. AV:N reflects that the attacker operates a network-accessible SFTP server, but this is not a spray-and-pray internet-facing service - the victim must deliberately connect to the attacker's server. UI:R is the key limiting factor: passive browsing is not enough; the user must explicitly trigger 'Edit with System Editor' on a malicious file. PR:N is correct from the attacker's perspective (they control their own server) but implies no victim-side authentication weakness. No KEV listing means active exploitation at scale is unconfirmed. EPSS data was not provided in the input; exploitation probability cannot be numerically assessed. No public POC has been identified, though the patch diff is publicly visible on GitHub and the fix is simple enough to reverse-engineer. The combination of deliberate user action against a server they connected to, plus the need for that server to be malicious or intercepted, positions this as a realistic but targeted threat rather than a mass-exploitation scenario. Organizations whose users routinely connect to external or third-party SFTP servers face the highest realistic exposure.

Exploit ScenarioDerived

An attacker stands up a malicious SFTP server (or performs an active man-in-the-middle attack on an existing SFTP session) and presents a file with a crafted traversal filename such as ../../.ssh/authorized_keys or ../../.bashrc. When the electerm user connects and selects 'Edit with System Editor' on that file, electerm resolves the crafted filename to a path outside the temp directory and writes the attacker's file content there - enabling the attacker to inject an SSH authorized key for persistent access, overwrite shell initialization scripts for command execution on next login, or corrupt application configuration files. No public POC has been identified, but the fix commit makes the vulnerable code pattern trivially visible.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 11, 2026

Path traversal in electerm's SFTP client allows a malicious or man-in-the-middle SFTP server to write attacker-controlled file content to arbitrary locations on the connecting user's filesystem, bypassing the intended temporary directory confinement. All electerm releases prior to 3.15.120 are affected across all supported platforms (Linux, macOS, Windows). No public exploit code or CISA KEV listing exists at time of analysis, but the patch commit and GitHub security advisory are publicly visible, lowering the bar for independent reproduction. CVSS 8.1 reflects high integrity and availability impact gated by required user interaction with a malicious server.

RemediationAI

Upgrade electerm to version 3.15.120 or later immediately; this is the vendor-released patch confirmed by tagged GitHub release at https://github.com/electerm/electerm/releases/tag/v3.15.120 and fix commit 32ea29365762b3451b1f2fcc0ef78104384db282. If immediate upgrade is not feasible, the primary workaround is to instruct users to avoid using the 'Edit with System Editor' feature on any SFTP server that is not fully trusted and under organizational control, as this specific feature is the sole trigger for the vulnerable code path. Standard file download-and-open workflows are not affected. There is no server-side mitigation available since the vulnerability is entirely client-side. Note that restricting SFTP usage broadly to trusted hosts via firewall or network policy would prevent exploitation but may impact legitimate workflows.

Affected VersionsENISA

electerm < 3.15.120

Affected Packages

euvd electerm fix: 3.15.120

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in src/client/components/sftp/file-item.jsx within the editWithSystemEditor function. When a user invokes 'Edit with System Editor' on a remote file, electerm constructs a local temporary path as path.resolve(window.pre.tempDir, electerm-temp-${id}-${name}) where name is taken directly from the server-supplied filename. CWE-22 (Path Traversal / Improper Limitation of a Pathname to a Restricted Directory) is the root cause: because name is not sanitized before being passed to path.resolve, a server-controlled value containing ../ sequences or absolute path components can cause resolution to escape the intended temp directory entirely. The fix (commit 32ea293) applies sanitizeFilename() to the server-supplied name before path construction and adds a defense-in-depth confinement check verifying the resolved path begins with window.pre.tempDir + window.pre.sep, aborting with an error if not. The CPE cpe:2.3:a:electerm:electerm:*:*:*:*:*:*:*:* confirms only the electerm application itself is in scope - not the underlying OS or SFTP protocol.

Know when Electerm gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.1 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
vuln.today AI 8.1 HIGH

AV:N because attack originates from a network SFTP server; PR:N as attacker controls their own server; UI:R requires explicit system-editor action; C:N since no data is read or exfiltrated.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Aug 11, 2026 - 20:19 EUVD
CVE Published
Aug 11, 2026 - 18:37 cve.org
HIGH 8.1

DescriptionCVE.org

electerm is an open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client. Prior to 3.15.120, electerm allows a malicious SFTP server to write attacker-controlled content outside the temporary directory because the server-controlled filename name used by editWithSystemEditor in src/client/components/sftp/file-item.jsx is interpolated into path.resolve without sanitization. This issue is fixed in version 3.15.120.

Executive ViewAI

Why It Matters

electerm SFTP client (all versions prior to 3.15.120) is vulnerable to file overwrite attacks via compromised SFTP connections, with technical disclosure now public and exploit reproduction barriers lowered. The vendor has not released a patch, creating urgent remediation pressure until patch version 3.15.120 becomes available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting all SFTP traffic to internal servers only, implementing file integrity monitoring on user systems to detect unauthorized file modifications, running electerm in restricted environments with minimal filesystem write access, and considering temporary suspension of SFTP file transfers until the patched version is available.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Low
niche open-source terminal client, limited enterprise footprint
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2026-43944 CRITICAL POC
9.4 May 08

Arbitrary local code execution in electerm (versions 3.0.6-3.8.14) allows remote attackers to execute malicious code on

CVE-2026-41500 CRITICAL
9.8 May 08

Command injection in electerm's npm install script allows arbitrary command execution on macOS systems during 'npm insta

CVE-2026-43941 CRITICAL
9.6 May 08

Arbitrary code execution in Electerm terminal client (≤3.8.15) allows attackers who control terminal output to execute c

CVE-2026-73226 HIGH
8.8 Aug 11

Unintended internal method dispatch in electerm prior to v3.15.186 allows any authenticated WebSocket client to invoke a

CVE-2026-73224 HIGH
8.8 Aug 11

Command injection in electerm prior to version 3.15.120 enables a malicious FTP or SFTP server operator to execute arbit

CVE-2026-43940 HIGH
8.4 May 08

Path traversal in electerm's IPC widget loader allows local code execution with full process privileges when an attacker

CVE-2026-73227 HIGH
8.1 Aug 11

Path traversal in electerm's RDP clipboard file transfer (prior to v3.15.120) lets a malicious RDP server write attacker

CVE-2026-73225 HIGH
8.1 Aug 11

Path traversal in electerm's recursive file transfer component allows a malicious FTP or SFTP server to write attacker-c

CVE-2026-43943 HIGH
7.8 May 08

Command injection in electerm's SFTP file editor feature allows arbitrary code execution when users edit files with mali

CVE-2026-86711 HIGH
7.5 Sep 08

Arbitrary OS command execution in electerm before 5.3.15 is achievable through a completely unvalidated Electron IPC bri

CVE-2026-43942 MEDIUM
5.5 May 08

electerm 3.8.15 and prior exposes environment variables containing secrets through the getConstants() IPC handler, which

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy