Evil-WinRM
CVE-2026-55201
HIGH
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attacker controls a network-reachable WinRM server (AV:N, PR:N), victim must run download_dir (UI:R), and overwriting authorized_keys yields high integrity and downstream confidentiality impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Lifecycle Timeline
3DescriptionCVE.org
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.
AnalysisAI
Path traversal in Evil-WinRM through 3.9 lets a malicious or compromised remote Windows server overwrite arbitrary files on the operator's client machine when the user invokes the download_dir() function. Because Evil-WinRM is the offensive operator's tool, this inverts the trust model - the 'target' Windows host becomes the attacker and the red teamer or admin running Evil-WinRM becomes the victim, with realistic outcomes including persistent SSH access via overwritten authorized_keys. …
Unlock full vulnerability intelligence
- Risk assessment & exploitation conditions
- Attack chain visualization
- Remediation with exact patch versions
- Threat intelligence from 22 sources
- Personal watchlist & email alerts
Free forever · No credit card required
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata
Vulnerability AssessmentAI
| Exploitation | Exploitation requires that (1) the victim is running Evil-WinRM 3.9 or earlier, (2) the victim invokes the download_dir() function specifically - single-file download is not affected - and (3) the remote Windows endpoint the victim has authenticated to is attacker-controlled or compromised such that the attacker can influence Get-ChildItem output. … Additional conditions and limiting factors are described in the full assessment. |
| Risk Assessment | The CVSS 4.0 base of 7.4 (AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H) accurately reflects a high-impact but conditionally triggered flaw: the attacker needs to control the WinRM server the victim connects to (AT:P) and the victim must actively run download_dir() (UI:A). … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in. |
| Exploit Scenario | A red team operator connects Evil-WinRM to a Windows host that has been previously compromised by another actor (or is a honeypot). The operator runs 'download_dir C:\loot ./loot' to bulk-pull files; the malicious host responds to Get-ChildItem with crafted entries like '..\..\..\..\home\operator\.ssh\authorized_keys' whose contents are an attacker-controlled SSH public key, giving the attacker persistent SSH access to the operator's workstation. … |
| Remediation | Upstream fix available as commit 6ecd570 (PR #81 at https://github.com/Hackplayers/evil-winrm/pull/81); operators should update to a build that includes this commit - the patch sanitizes each filename via File.basename and skips empty, '.' and '..' entries before joining to the local path. … Detailed patch versions, workarounds, and compensating controls in full report. |
Recommended ActionAI
Within 24 hours: inventory all Evil-WinRM deployments through version 3.9 across red team and security operations infrastructure. …
Sign in for detailed remediation steps and compensating controls.
Threat intelligence, references, and detailed analysis are available after sign-in.
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today