Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSocial-engineer victim to connect to malicious RDP server
-
DeliveryEstablish RDP session via electerm
-
ExploitServer sends CLIPRDR file transfer with traversal filename
-
Executionelecterm calls osResolve with unsanitized fileInfo.name
-
PersistFile written to attacker-specified path outside save directory
-
ImpactArbitrary payload placed on victim filesystem for 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 | The victim must be running electerm prior to version 3.15.120 and must establish an RDP session to an attacker-controlled or compromised RDP server. The RDP server must initiate a clipboard file transfer (CLIPRDR) with a crafted filename containing path traversal sequences. User interaction is required (UI:R): the victim must actively connect to the malicious server and the file transfer must be accepted or triggered within the session. No special electerm configuration is needed beyond normal RDP connectivity. Exploitation is bounded by the need to control or compromise an RDP endpoint that the victim trusts enough to connect to; the attack cannot be initiated without that prior session establishment. Exploitation does not result in data exfiltration (C:N) - impact is limited to arbitrary file writes on the victim's filesystem. |
| Impact | CVSS 8.1 (High) with vector AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H reflects a high-severity but user-interaction-dependent vulnerability. The AV:N and AC:L metrics confirm easy network reachability and low exploitation complexity once a connection is established; PR:N confirms the attacker needs no pre-existing privileges on the victim system. The critical limiting factor is UI:R: the victim must actively connect to the malicious RDP server and receive a file transfer, ruling out passive or spray-style attacks. The S:U (scope unchanged) and C:N (no confidentiality loss) constrain the blast radius to write-only filesystem impact, though I:H and A:H signal that overwriting system files, configuration, or executables is realistic. No CISA KEV listing and no known public POC reduce immediate urgency relative to the raw CVSS score. EPSS data was not provided in source intelligence. The realistic threat actor is one who can socially engineer a user into connecting to an attacker-controlled RDP endpoint, or who has compromised a legitimate RDP server that electerm users trust. |
| Exploit ScenarioDerived | An attacker operates a malicious RDP server and social-engineers an electerm user into connecting (e.g., via a phishing link to a fake corporate remote-desktop endpoint). Once the session is established, the server triggers a CLIPRDR clipboard file transfer with a crafted filename such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 11, 2026
Path traversal in electerm's RDP clipboard file transfer (prior to v3.15.120) lets a malicious RDP server write attacker-controlled files to arbitrary locations on the victim's filesystem. The fileInfo.name field from the RDP CLIPRDR protocol - fully controlled by the server - is passed unsanitized to osResolve, enabling ../ sequences to escape the user-selected save directory. No public exploit is identified at time of analysis; exploitation requires the victim to connect to a malicious RDP server and receive a clipboard file transfer.
RemediationAI
Upgrade electerm to version 3.15.120 or later, available at https://github.com/electerm/electerm/releases/tag/v3.15.120. The vendor-released patch (commit 451bf3000672c00b0c3b148fbf3c148c205ce350) resolves the issue by sanitizing fileInfo.name through a dedicated sanitizeFilename helper before path resolution, preventing directory traversal sequences from reaching osResolve. If immediate upgrade is not feasible, avoid connecting to untrusted or unverified RDP servers via electerm, and avoid accepting clipboard file transfers from RDP sessions to endpoints not under your control. There is no known in-product setting to disable CLIPRDR clipboard file transfer independently; the workaround is therefore connection-level: restrict electerm RDP usage to trusted, internally-managed endpoints until the patch is applied. Full advisory is available at https://github.com/electerm/electerm/security/advisories/GHSA-gm6q-5vpx-3mwf.
Affected VersionsENISA
Affected Packages
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
electerm is a cross-platform Electron-based terminal client supporting SSH, SFTP, RDP, VNC, and other protocols. The vulnerable code in src/client/components/rdp/file-transfer.js handles the RDP clipboard redirection protocol (CLIPRDR), which allows an RDP server to push files to the client's clipboard. The fileInfo.name property - sourced directly from the RDP server's CLIPRDR message - was concatenated with the user-chosen save path via osResolve(savePath[0], fileInfo.name) without any filename sanitization. CWE-22 (Path Traversal) describes this root cause class: when externally-controlled input containing path separator sequences (e.g., ../../etc/cron.d/malicious) is used in file path construction without stripping traversal components, the resulting path escapes the intended directory boundary. CPE cpe:2.3:a:electerm:electerm:*:*:*:*:*:*:*:* confirms all prior versions are affected. The fix (commit 451bf30) imports a sanitizeFilename utility and applies it to fileInfo.name before osResolve is called, removing traversal sequences at the point of receipt.
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
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Malicious RDP server is network-reachable (AV:N, AC:L), needs no victim-side privileges (PR:N), but requires active user connection (UI:R); writes files (I:H, A:H) without reading any (C:N).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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 RDP server to write attacker-controlled content outside the selected save directory because the RDP clipboard download path in src/client/components/rdp/file-transfer.js passes the server-controlled CLIPRDR filename fileInfo.name to osResolve without sanitization. This issue is fixed in version 3.15.120.
Executive ViewAI
electerm (versions prior to 3.15.120) contains a path traversal vulnerability in RDP clipboard file transfer that allows a malicious RDP server to write arbitrary files to an affected user's filesystem, potentially enabling code execution or system compromise. This affects any organization using electerm for remote RDP connections, particularly those connecting to untrusted or internet-facing RDP servers.
No vendor-released patch identified at time of analysis. Interim mitigations: disable RDP clipboard file transfer in client settings; restrict RDP connections to internal, known-good servers via network firewall rules; deploy EDR with rules alerting on suspicious file creation in user home directories and system paths (../ patterns); maintain updated inventory of electerm installations for rapid remediation when patch becomes available.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Arbitrary local code execution in electerm (versions 3.0.6-3.8.14) allows remote attackers to execute malicious code on
Command injection in electerm's npm install script allows arbitrary command execution on macOS systems during 'npm insta
Arbitrary code execution in Electerm terminal client (≤3.8.15) allows attackers who control terminal output to execute c
Unintended internal method dispatch in electerm prior to v3.15.186 allows any authenticated WebSocket client to invoke a
Command injection in electerm prior to version 3.15.120 enables a malicious FTP or SFTP server operator to execute arbit
Path traversal in electerm's IPC widget loader allows local code execution with full process privileges when an attacker
Path traversal in electerm's recursive file transfer component allows a malicious FTP or SFTP server to write attacker-c
Path traversal in electerm's SFTP client allows a malicious or man-in-the-middle SFTP server to write attacker-controlle
Command injection in electerm's SFTP file editor feature allows arbitrary code execution when users edit files with mali
Arbitrary OS command execution in electerm before 5.3.15 is achievable through a completely unvalidated Electron IPC bri
electerm 3.8.15 and prior exposes environment variables containing secrets through the getConstants() IPC handler, which
EUVD-2026-56920
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB