CVE-2025-49734: PowerShell Direct Elevation of Privilege Vulnerability
CVE-2025-49734 is an elevation of privilege vulnerability in PowerShell Direct, rated Important by Microsoft, with a CVSS 3.1 base score of 7 (High). An attacker can exploit it by an attacker with local access, with low privileges and without user interaction. Microsoft has not reported exploitation in the wild and rates exploitation as less likely. The EPSS model estimates a 0.33% probability of exploitation activity in the next 30 days, higher than 28% of all scored vulnerabilities. Microsoft released the fix on 9 September 2025 in the September 2025 Patch Tuesday, delivered through 9 security updates (KB5065428, KB5065432, KB5065306, KB5065429 and more). It affects 27 products in 3 product families (Windows, ESU, Developer Tools).
Key facts
- CVE ID
- CVE-2025-49734
- Severity
- High CVSS 7
- Microsoft severity
- Important
- Impact
- Elevation of Privilege
- Exploited in the wild
- No
- Publicly disclosed
- No
- Exploitation likelihood
- Less Likely
- Weakness
- CWE-923
- EPSS
- 0.33% (percentile 28%)
- CISA KEV
- Not listed
- Released
- Last updated
- Patch Tuesday
- September 2025 Patch Tuesday
- Product families
- Windows, ESU, Developer Tools
CVSS score and vector
Microsoft scores CVE-2025-49734 at 7 (temporal 6.1) using CVSS 3.1. Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
| Metric | Value |
|---|---|
| Attack vector | Local |
| Attack complexity | High |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality impact | High |
| Integrity impact | High |
| Availability impact | High |
| Exploit code maturity | Unproven |
| Remediation level | Official fix |
| Report confidence | Confirmed |
Description
Improper restriction of communication channel to intended endpoints in Windows PowerShell allows an authorized attacker to elevate privileges locally.
Frequently asked questions (Microsoft)
What privileges could be gained by an attacker who successfully exploited the vulnerability?
The attacker, initially a non-admin user on the host, could hijack the PowerShell Direct session intended for communication between the admin user on host and a guest VM. This unauthorized access enables the attacker to impersonate the admin host user in communications with the guest, potentially manipulating or controlling guest-side operations.
According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability?
Successful exploitation of this vulnerability requires an attacker to win a race condition.
Why am I getting login failure events on my unpatched guest VM?
To ensure compatibility with unpatched guests, the new client attempts a login. This will produce an event in the Security Event log with event id 4625. The username will be ?‹PSDirectVMLegacy> and the domain will be 䕖卒佉N.
This event should stop when you patch your guest.
Note: The ?‹PSDirectVMLegacy> and 䕖卒佉N text is verbatim - this is what the user sees.
Where can I find information about additional mitigation steps?
There are edge case affecting hotpatched devices that have installed the September 2025 updates . These devices may experience failures with PowerShell Direct (PSDirect) connections when the host and guest virtual machines (VMs) are both not fully updated.
If your hotpatched device is experiencing issues with PSDirect connection, we recommend updating both the host and guest VM with these updates.
Additional information can be found in the Knowledge Base articles below.
KB Article
Product
5065306
Windows Server 2022 Hotpatch
5065426
Windows 11, version 24H2
5065432
Windows Server 2022
5065474
Windows Server 2025 Hotpatch
5066359
PowerShell
5066360
PowerShell
Affected products (27)
Windows
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| Windows 10 Version 1809 for 32-bit Systems | KB5065428 | Security Update | 10.0.17763.7792 | Yes |
| Windows 10 Version 1809 for x64-based Systems | KB5065428 | Security Update | 10.0.17763.7792 | Yes |
| Windows Server 2019 | KB5065428 | Security Update | 10.0.17763.7792 | Yes |
| Windows Server 2019 (Server Core installation) | KB5065428 | Security Update | 10.0.17763.7792 | Yes |
| Windows Server 2022 | KB5065432 KB5065306 | Security Update Security Hotpatch Update | 10.0.20348.4171 10.0.20348.4106 | Yes Yes |
| Windows Server 2022 (Server Core installation) | KB5065432 KB5065306 | Security Update Security Hotpatch Update | 10.0.20348.4171 10.0.20348.4106 | Yes Yes |
| Windows 10 Version 21H2 for 32-bit Systems | KB5065429 | Security Update | 10.0.19044.6332 | Yes |
| Windows 10 Version 21H2 for ARM64-based Systems | KB5065429 | Security Update | 10.0.19044.6332 | Yes |
| Windows 10 Version 21H2 for x64-based Systems | KB5065429 | Security Update | 10.0.19044.6332 | Yes |
| Windows Server 2025 (Server Core installation) | KB5065426 KB5065474 | Security Update SecurityHotpatchUpdate | 10.0.26100.6584 10.0.26100.6508 | Yes Yes |
| Windows 11 Version 23H2 for ARM64-based Systems | ||||
| Windows 11 Version 23H2 for x64-based Systems | ||||
| Windows Server 2022, 23H2 Edition (Server Core installation) | KB5065425 | Security Update | 10.0.25398.1849 | Yes |
| Windows 11 Version 24H2 for ARM64-based Systems | KB5065426 | Security Update | 10.0.26100.6584 | Yes |
| Windows 11 Version 24H2 for x64-based Systems | KB5065426 KB5065474 | Security Update SecurityHotpatchUpdate | 10.0.26100.6584 10.0.26100.6508 | Yes Yes |
| Windows Server 2025 | KB5065426 KB5065474 | Security Update SecurityHotpatchUpdate | 10.0.26100.6584 10.0.26100.6508 | Yes Yes |
| Windows 10 Version 1607 for 32-bit Systems | KB5065427 | Security Update | 10.0.14393.8422 | Yes |
| Windows 10 Version 1607 for x64-based Systems | KB5065427 | Security Update | 10.0.14393.8422 | Yes |
| Windows Server 2016 | KB5065427 | Security Update | 10.0.14393.8422 | Yes |
| Windows Server 2016 (Server Core installation) | KB5065427 | Security Update | 10.0.14393.8422 | Yes |
ESU
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| Windows 11 Version 22H2 for ARM64-based Systems | KB5065431 | Security Update | 10.0.22621.5909 | Yes |
| Windows 11 Version 22H2 for x64-based Systems | KB5065431 | Security Update | 10.0.22621.5909 | Yes |
| Windows 10 Version 22H2 for x64-based Systems | ||||
| Windows 10 Version 22H2 for ARM64-based Systems | ||||
| Windows 10 Version 22H2 for 32-bit Systems |
Developer Tools
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| PowerShell 7.4 | Release Notes | Security Update | 7.4.12 | Maybe |
| PowerShell 7.5 |
Security updates (9)
NIST NVD data
- NVD status
- Analyzed
- NVD CVSS
- 7 (HIGH)
- NVD weakness
- CWE-923
- Published to NVD
- NVD last modified
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| powershell | from 7.4, before 7.4.12 |
| powershell | from 7.5, before 7.5.3 |
| windows 10 1607 (x64) | before 10.0.14393.8422 |
| windows 10 1607 (x86) | before 10.0.14393.8422 |
| windows 10 1809 (x64) | before 10.0.17763.7792 |
| windows 10 1809 (x86) | before 10.0.17763.7792 |
| windows 10 21h2 | before 10.0.19044.6332 |
| windows 10 22h2 | before 10.0.19045.6332 |
| windows 11 22h2 | before 10.0.22621.5909 |
| windows 11 23h2 | before 10.0.22631.5909 |
| windows 11 24h2 | before 10.0.26100.6508 |
| windows server 2016 | before 10.0.14393.8422 |
| windows server 2019 | before 10.0.17763.7792 |
| windows server 2022 | before 10.0.20348.4106 |
| windows server 2022 23h2 | before 10.0.25398.1849 |
| windows server 2025 | before 10.0.26100.6508 |
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-49734 (Vendor Advisory)
Acknowledgments
- QWangWang
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. | |
| 2.0 | Revised the Security Updates table to include PowerShell 7.4 and PowerShell 7.5 because these versions of PowerShell 7 are affected by this vulnerability. See https://github.com/PowerShell/Announcements/issues/78 for more information. |