CVE-2026-55201: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Hackplayers evil-winrm
Evil-WinRM through 3.9, fixed in commit 6ecd570, contains a path traversal vulnerability in the download_dir() function that allows a rogue or compromised remote Windows server to write files outside the intended download directory by returning filenames with traversal sequences from Get-ChildItem command output that are passed unsanitized to File.join(). Attackers controlling the remote server can exploit this to overwrite sensitive client-side files such as SSH authorized_keys or shell configuration files, achieving persistent access or privilege escalation on the client machine.
AI Analysis
Technical Summary
The path traversal vulnerability in Evil-WinRM (<=3.9) exists in the download_dir() function, where filenames returned by the Get-ChildItem command on a remote Windows server are passed unsanitized to File.join(). This allows an attacker controlling the remote server to craft filenames with directory traversal sequences, causing files to be written outside the intended download directory on the client side. Such unauthorized file writes can overwrite critical client files like SSH authorized_keys or shell configuration files, leading to persistent access or privilege escalation. The issue is resolved in a commit identified as 6ecd570, which is after version 3.9.
Potential Impact
An attacker controlling or compromising the remote Windows server can exploit this vulnerability to write arbitrary files outside the designated download directory on the client machine. This can result in overwriting sensitive client-side files such as SSH authorized_keys or shell configuration files, potentially enabling persistent unauthorized access or privilege escalation on the client system.
Mitigation Recommendations
A fix for this vulnerability is available in a commit after version 3.9 (commit 6ecd570). Users should upgrade Evil-WinRM to a version that includes this fix. Since no official patch version is explicitly stated, users should verify the vendor repository or official sources for the fixed version. Until upgraded, users should exercise caution when connecting to untrusted or potentially compromised remote Windows servers.
CVE-2026-55201: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Hackplayers evil-winrm
Description
Evil-WinRM through 3.9, fixed in commit 6ecd570, contains a path traversal vulnerability in the download_dir() function that allows a rogue or compromised remote Windows server to write files outside the intended download directory by returning filenames with traversal sequences from Get-ChildItem command output that are passed unsanitized to File.join(). Attackers controlling the remote server can exploit this to overwrite sensitive client-side files such as SSH authorized_keys or shell configuration files, achieving persistent access or privilege escalation on the client machine.
CVSS v4.0
Score 7.4high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The path traversal vulnerability in Evil-WinRM (<=3.9) exists in the download_dir() function, where filenames returned by the Get-ChildItem command on a remote Windows server are passed unsanitized to File.join(). This allows an attacker controlling the remote server to craft filenames with directory traversal sequences, causing files to be written outside the intended download directory on the client side. Such unauthorized file writes can overwrite critical client files like SSH authorized_keys or shell configuration files, leading to persistent access or privilege escalation. The issue is resolved in a commit identified as 6ecd570, which is after version 3.9.
Potential Impact
An attacker controlling or compromising the remote Windows server can exploit this vulnerability to write arbitrary files outside the designated download directory on the client machine. This can result in overwriting sensitive client-side files such as SSH authorized_keys or shell configuration files, potentially enabling persistent unauthorized access or privilege escalation on the client system.
Mitigation Recommendations
A fix for this vulnerability is available in a commit after version 3.9 (commit 6ecd570). Users should upgrade Evil-WinRM to a version that includes this fix. Since no official patch version is explicitly stated, users should verify the vendor repository or official sources for the fixed version. Until upgraded, users should exercise caution when connecting to untrusted or potentially compromised remote Windows servers.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-16T15:53:37.764Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a32f73af198dc38c1f391c0
Added to database: 06/17/2026, 19:36:26 UTC
Last enriched: 07/15/2026, 10:12:30 UTC
Last updated: 08/01/2026, 07:18:01 UTC
Views: 122
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.