CVE-2026-55201: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Hackplayers evil-winrm
Evil-WinRM versions up to and including 3.9 contain a path traversal vulnerability in the download_dir() function. This flaw allows a malicious or compromised remote Windows server to write files outside the intended download directory by returning filenames with traversal sequences that are not properly sanitized. Exploitation can lead to overwriting sensitive client-side files such as SSH authorized_keys or shell configuration files, potentially enabling persistent access or privilege escalation on the client machine.
AI Analysis
Technical Summary
CVE-2026-55201 is a path traversal vulnerability in Hackplayers evil-winrm through version 3.9. The issue 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 containing directory traversal sequences, causing files to be written outside the intended download directory on the client side. This can lead to overwriting critical client files like SSH authorized_keys or shell configuration files, facilitating persistent access or privilege escalation.
Potential Impact
An attacker controlling a remote Windows server can exploit this vulnerability to write arbitrary files outside the intended directory on the client machine. This can result in overwriting sensitive files such as SSH authorized_keys or shell configuration files, potentially allowing the attacker to maintain persistent access or escalate privileges on the client system.
Mitigation Recommendations
A fix for this vulnerability has been implemented in a commit identified as 6ecd570. Users should upgrade to a version later than 3.9 where this fix is included. Patch status is not explicitly confirmed in the vendor advisory, so users should verify the presence of the fix in their version or apply the patch from the referenced commit.
CVE-2026-55201: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Hackplayers evil-winrm
Description
Evil-WinRM versions up to and including 3.9 contain a path traversal vulnerability in the download_dir() function. This flaw allows a malicious or compromised remote Windows server to write files outside the intended download directory by returning filenames with traversal sequences that are not properly sanitized. Exploitation can lead to overwriting sensitive client-side files such as SSH authorized_keys or shell configuration files, potentially enabling 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
CVE-2026-55201 is a path traversal vulnerability in Hackplayers evil-winrm through version 3.9. The issue 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 containing directory traversal sequences, causing files to be written outside the intended download directory on the client side. This can lead to overwriting critical client files like SSH authorized_keys or shell configuration files, facilitating persistent access or privilege escalation.
Potential Impact
An attacker controlling a remote Windows server can exploit this vulnerability to write arbitrary files outside the intended directory on the client machine. This can result in overwriting sensitive files such as SSH authorized_keys or shell configuration files, potentially allowing the attacker to maintain persistent access or escalate privileges on the client system.
Mitigation Recommendations
A fix for this vulnerability has been implemented in a commit identified as 6ecd570. Users should upgrade to a version later than 3.9 where this fix is included. Patch status is not explicitly confirmed in the vendor advisory, so users should verify the presence of the fix in their version or apply the patch from the referenced commit.
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: 6/17/2026, 7:36:26 PM
Last enriched: 6/17/2026, 7:49:57 PM
Last updated: 6/17/2026, 8:36:57 PM
Views: 4
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.